in reply to Perl CGI Environment Variable
Update: When I say "It sounds like the environment under which your process is running doesn't have $ENV{"HOME"} defined...", I'm saying that it's probable that your spawned process is running under a different environment instance (ie, as a different user). Thus, even though you think HOME is set, it's not set in the environment under which your job is running. Turning warnings on might tell you that the hash element you're looking for isn't defined. Now you know one possible reason why.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl Environment Variable
by sasikumar (Monk) on Jan 30, 2004 at 06:19 UTC | |
by Abigail-II (Bishop) on Jan 30, 2004 at 09:47 UTC | |
by thor (Priest) on Jan 30, 2004 at 13:52 UTC | |
by halley (Prior) on Jan 30, 2004 at 15:26 UTC |