PERL not working.

Joshua Zeidner jjzeidner at gmail.com
Sat Aug 9 17:10:23 MST 2008


  are you running mod_perl or perl cgi?

 1) make sure that perl is running from the CL.

 2) test your script from the CL.

 3) make sure that the .pl extension is set to execute the script (which
should be in the apache directives ).

 4) double check you followed all the instructions correctly :)

 -jmz

On Sat, Aug 9, 2008 at 5:04 PM, keith smith <klsmith2020 at yahoo.com> wrote:

>
> Hi,
>
> I am running Fedora 5.  PHP and MySql are working fine however I cannot run
> a test PERL program.
>
> I changed the file permissions to 755 and did a "which perl"  which shows
> /usr/bin/perl.
>
> The test file:
>
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print "Hello, world!\n";
>
> When I call it up in a browser I see the source.  I used the extension of
> cgi and pl.
>
> Could the PERL not be working?  How can I test that PERL is functioning?
>
> Thanks in advance for your help!
>
> ------------------------
> Keith Smith
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
"Never take counsel of your fears." - Andrew Jackson

- http://www.joshuazeidner.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080809/4ea63f64/attachment.htm 


More information about the PLUG-discuss mailing list