Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl
    print "Content-type: text/html\n\n";
    print "<H1>Hello World</H1>\n";
    
  2. or download this
    [root@www cgi-bin]# ./test.pl
    : bad interpreter: No such file or directory
    
  3. or download this
    [root@www cgi-bin]# perl test.pl
    Content-type: text/html
    
    <H1>Hello World</H1>
    
  4. or download this
    #!/usr/local/bin/perl -w
    print "Content-type: text/html\n\n";
    print "<H1>Hello World</H1>\n";