in reply to Access system ENV variables from within CGI Script

Your environment in an interactive shell and the environment under which CGI runs is wholly different. Instead of trying to set variables on the outside of your script (i.e., via the actual environment), I suggest setting them explicitly in a Perl module that is shared by all of your Perl CGI code.
  • Comment on Re: Access system ENV variables from within CGI Script