The -wT are optional and shouldn't affect whether or not your script is running, but they are a good habit to get into. Make sure that the path to your Perl executable matches the path on the shebang line!#!c:/perl/bin/perl.exe -wT
use CGI qw/:standard/; print header;
open FILE, "<$somefile" or die $!;
Join the Perlmonks Setiathome Group or just go the the link and check out our stats.
In reply to (Ovid) Re: testing cgi scripts
by Ovid
in thread testing cgi scripts
by ashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |