PERL not working.

keith smith klsmith2020 at yahoo.com
Sat Aug 9 17:04:33 MST 2008


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




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20080809/0d511e7c/attachment.htm 


More information about the PLUG-discuss mailing list