Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090205]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-11-25 15:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (682 votes), past polls