in reply to Perl CGI Environment Variable

I hope you haven't called your Perl script script. This is really bad practice under Unix as there is aleady a utility called script.
Try to avoid names like script and test as it will save you much heart-ache later.