Help for this page

Select Code to Download


  1. or download this
    #!C:\wherever\Perl.exe
    print "Content-type: text/html
    ...
    <html><head><title>test</title></head>
    <body><h1>It works.</h1></body></html>
    ";
    
  2. or download this
    #!C:\wherever\Perl.exe
    
    ...
    
    print "Content-type: text/plain\n\n";
    while (<FOO>) { print }
    
  3. or download this
    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
    split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/