Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: %ENV in a .pm versus .cgi ?

by perlfan (Curate)
on Jun 17, 2014 at 20:27 UTC ( #1090205=note: print w/replies, xml ) Need Help??

in reply to %ENV in a .pm versus .cgi ?

Is it possible that %ENV was getting pulled from different sources, but were in fact just happened to be identical on the old server?

One situation in which I can think that %ENV would be different in this case is if %ENV is being modified globally unbeknownst to you. Is it being changed in one of your modules?

Another situation in which %ENV might be different (and in this case not cause side effects) is if you shell-out at any point in the CGI script or in one of your modules. In this case, anything executed as a separate shell process might be subject to a fully different %ENV (because it's a separate child process).

As others have said, without precious information all we can do is speculate.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090205]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-04-26 02:30 GMT
Find Nodes?
    Voting Booth?