in reply to neophyte question w/win2k
#!perl use CGI; $x = new CGI; print $x->header, $x->start_html; print "Hello, World\n",$x->end_html;
will probably work just fine. you need to specifically mention the program in C:\Perl\bin that will be interpreting the program, which is of course called perl.exe. the .exe is not necessary, though.#!C:\Perl\bin\perl print "Content-type: text/html\n\n"; print "Hello World"; #end script
|
|---|