Wednesday, April 3, 2013

Try the Perl test script:

print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";

Then browse the pearl file to see if perl is working.

Tracking Errors in Script
Execute the following from command line :

#perl -wc

Perl interpreter will check the script for syntax errors. If syntax is correct it will show the following output, syntax OK

No comments:

Post a Comment