For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > September 2006 > PerlEx3 trouble









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author PerlEx3 trouble
Matt

2006-09-27, 6:58 pm

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


Sherm Pendley

2006-09-27, 6:58 pm

"Matt" <matt@nospam.com> 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
Matt

2006-09-27, 6:58 pm

I knew I would get a good answer here.



"Sherm Pendley" <sherm@Sherm-Pendleys-Computer.local> wrote in message
news:m28xk5wag9.fsf@Sherm-Pendleys-Computer.local...
> "Matt" <matt@nospam.com> writes:
>
>
> OF COURSE it gives errors. Did you expect that simply changing the
> filename
> would magically change HTML markup into Perl code???
>
>
> 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



Sherm Pendley

2006-09-27, 6:58 pm

"Matt" <matt@nospam.com> writes:

> "Sherm Pendley" <sherm@Sherm-Pendleys-Computer.local> wrote in message
> news:m28xk5wag9.fsf@Sherm-Pendleys-Computer.local...
>
>
> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com