|
Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
Premature-End-of-Script-Headers-ErrorSample hello world script #!/usr/local/bin/perl
# hello.pl -- my first perl script!
print "Content-type: text/html\n\n";
print "Hello, world!\n";
Reference: http://httpd.apache.org/docs/1.3/suexec.html
Tracking Errors in the Script perl -wc helloworld.pl Will cause the Perl interpreter to check your script for syntax errors. Running it without the syntax check options: perl -w helloworld.pl
|