Click here to get back home

PerlEx3 trouble

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PerlEx3 trouble Matt 09-27-2006
Posted by Matt on September 27, 2006, 11:50 am
Please log in for more thread options


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



Posted by Sherm Pendley on September 27, 2006, 12:17 pm
Please log in for more thread options



> 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

Posted by Matt on September 27, 2006, 1:41 pm
Please log in for more thread options


I knew I would get a good answer here.



>
>> 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



Posted by Sherm Pendley on September 27, 2006, 2:28 pm
Please log in for more thread options



>>
>>> 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

Similar ThreadsPosted
Trouble installing GD November 5, 2004, 10:51 am
Trouble compiling module IO 1.20 August 6, 2004, 1:25 pm
Having Trouble with a CGI script login January 6, 2005, 1:16 pm
Having Trouble with a CGI script login January 6, 2005, 1:16 pm
Having Trouble with a CGI script login January 5, 2005, 12:51 pm
Trouble installing from CPAN November 20, 2006, 11:43 am
Trouble installing libapreq2-2.08 December 2, 2006, 6:37 am
Trouble installing libapreq2-2.08 December 2, 2006, 6:38 am
Net::SSH::Perl Trouble with publickey authentication May 30, 2005, 3:58 am
Trouble with mod_perl and Apache on VISTA October 21, 2007, 9:01 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap