Jack wrote:
> Subject: printing out the current URL for current ASP page in Perl
>
> I am using ASP and Perl and printing the hash %ENV does nothing, as
> does $ENV{URLVARIABLES} (With URLVARIABLES being anything..
I have no idea how you pick the environment in ASP. If it had been a
Perl CGI script you would have been able to say:
print "http://$ENV{HTTP_HOST}$ENV{REQUEST_URI}\n";
And to print the whole %ENV var:
print "$_ = $ENV{$_}\n" for keys %ENV;
--
Gunnar Hjalmarsson
Email:
http://www.gunnar.cc/cgi-bin/contact.pl