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
Neil
In reply to Re: Access to Windows Environment Variables
by neilh
in thread Access to Windows Environment Variables
by PConD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |