When I'm trying to run this script, I get the following error in the browser: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I don't get any syntax errors when I go to the command line and run "perl -c test.pl", but when I run "perl -w test.pl", I get the following error: Use of uninitialized value in string at test.pl line 26. If I change line 26 to print OUTFILE "5";, the script runs fine and it works. Can anyone help me out, or suggest another forum to present my problem to? Thanks.