in reply to Re: The Environment variable for URL...
in thread The Environment variable for URL...

Or the non-CGI.pm version of the above...
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "<html><body><pre>\n"; foreach (sort keys %ENV) { print "\$ENV{$_}\t$ENV{$_}\n"; } print "</pre></body></html>\n\n";