PERL not working.

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: keith smith
Date:  
To: plug-discuss
Subject: PERL not working.

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 -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss