I have a perl script that runs just fine from command line but not when I run it as cgi. I think it's because there are some env variables that doesn't exist when I run it as cgi. Is there a way to set the variables from the perl script?
I tried $ENV{'VAR'} = 'value';
but it doesn't make a difference.
btw, I'm using Apache as the webserver. Should I set the env variables from Apache config instead?
any suggestion?
thanks, - reynard
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>