in reply to Re^2: Incorrect output from CGI script
in thread Incorrect output from CGI script

Greetings all,
The ENV script is a script written to print out all of the name=value pairs of the the %ENV hash. The %ENV hash contains elements relating to your environment, which in most cases differs depending on where a particular script is run (i.e. executed from a web server vs. from the command line.). The output you posted looks like an ENV script as described above and the reason test.pl was mentioned is that the environment variables SCRIPT_NAME and REQUEST_URI are both set to /cgi-bin/test.pl. If this was your script it would be set to /cgi-bin/myfirst_cgi.pl.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo