Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-09-23 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls