Perl Hello World Example - For Linux Platform |
Article ID: 201 |
Back to Search
|
#Call the perl executable with -w (Strict coding)
#!/usr/bin/perl -w
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$cgi = new CGI;
print $cgi->header();
print "Hello, World!\n";
Make sure the permissions on the file are:
-rwxr-xr-x 1 ftpusername psacln 127 Feb 19 15:39 test.pl |
|
Downloads Associated With This Article |
No downloads are currently associated with this article. |