PerlEx3 trouble

PerlEx3 trouble

am 27.09.2006 17:50:46 von Matthew Sullivan

hello,

Win2k3/IIS6 all patched and up to date. I've got Perlex3 configured to run.
The sample files run fine, but perl files with CGI extensions don't. I've
created the script map for cgi extensions, but even if I change one of the
sample files from benchmarks.htm to benchmarks.cgi it spits out a bunch of
text with a few errors as follows:

'f:\PERL\eg\PerlEx\benchmarks.cgi' script produced no output String found
where operator expected at f:\PERL\eg\PerlEx\benchmarks.cgi line 6, near
"/title>
(Missing operator before " href="?)

and

(Might be a runaway multi-line "" string starting on line 27)

A file with cgi extension worked on our earlier server is now giving the
error "Script failed to send data." . When I changed it to a .htm file it
just pits out a bunch of text.

What am I doing wrong?

thanks,
Matt

Re: PerlEx3 trouble

am 27.09.2006 18:17:26 von Sherm Pendley

"Matt" writes:

> created the script map for cgi extensions, but even if I change one of the
> sample files from benchmarks.htm to benchmarks.cgi it spits out a bunch of
> text with a few errors as follows:

OF COURSE it gives errors. Did you expect that simply changing the filename
would magically change HTML markup into Perl code???

> What am I doing wrong?

Expecting the Perl interpreter to execute HTML markup.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Re: PerlEx3 trouble

am 27.09.2006 19:41:20 von Matthew Sullivan

I knew I would get a good answer here.



"Sherm Pendley" wrote in message
news:m28xk5wag9.fsf@Sherm-Pendleys-Computer.local...
> "Matt" writes:
>
>> created the script map for cgi extensions, but even if I change one of
>> the
>> sample files from benchmarks.htm to benchmarks.cgi it spits out a bunch
>> of
>> text with a few errors as follows:
>
> OF COURSE it gives errors. Did you expect that simply changing the
> filename
> would magically change HTML markup into Perl code???
>
>> What am I doing wrong?
>
> Expecting the Perl interpreter to execute HTML markup.
>
> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net

Re: PerlEx3 trouble

am 27.09.2006 20:28:00 von Sherm Pendley

"Matt" writes:

> "Sherm Pendley" wrote in message
> news:m28xk5wag9.fsf@Sherm-Pendleys-Computer.local...
>> "Matt" writes:
>>
>>> created the script map for cgi extensions, but even if I change one of
>>> the
>>> sample files from benchmarks.htm to benchmarks.cgi it spits out a bunch
>>> of
>>> text with a few errors as follows:
>>
>> OF COURSE it gives errors. Did you expect that simply changing the
>> filename
>> would magically change HTML markup into Perl code???
>>
>>> What am I doing wrong?
>>
>> Expecting the Perl interpreter to execute HTML markup.
>
>
> I knew I would get a good answer here.

Yeah, and *I* knew a good answer would probably be met with sarcasm instead
of the "thank you" it deserves. Rudely top-posted sarcasm, no less.

Some days I wonder why I bother trying to help people at all. Well, at least
I won't be repeating the mistake of trying to help *you*.

*plonk*

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net