in reply to Access to Windows Environment Variables
To call environment variables from CGI.pm you use the %ENV hash.
So try using $ENV{'MYVAR'} to get your information. A good writeup of this can be found at CGI
PM CGI tutorials
Neil