suaveant has asked for the wisdom of the Perl Monks concerning the following question:
I have an in-house fastcgi-type code all in perl.
When the environment data has been gathered from the incoming call I assign it to the local environment with the code %ENV = %env I am running across a problem where ONE of the fastcgis fails from this. But it is not this directly... any IO that happens afterwards seems to end the program, with an exit value of 512 (2). A print to STDOUT dead. A file open, dead. Nedermeyer, DEAD!
Does anybody have any idea what the heck could be causing this? If I remove the ENV line, it works, if I change it to a for loop assignment, this FCGI succeeds, but another fails.
And WHERE is the exit value of 2 coming from?
Can anyone point me in a direction to start?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: %ENV problem?
by ikegami (Patriarch) on Aug 26, 2004 at 21:06 UTC | |
by suaveant (Parson) on Aug 26, 2004 at 21:27 UTC | |
by Nkuvu (Priest) on Aug 28, 2004 at 04:21 UTC | |
by suaveant (Parson) on Aug 30, 2004 at 16:40 UTC |