Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Who modifies $ENV{PATH}?

by jethro (Monsignor)
on Dec 06, 2012 at 10:40 UTC ( #1007528=note: print w/ replies, xml ) Need Help??


in reply to Who modifies $ENV{PATH}?

Are you sure your script isn't called with modified ENV already? cron-jobs usually start with a modified aka purified ENV

If not you might add debug code that checks ENV and warns about it. If your script is not multithreaded this should enable you to pinpoint the culprit in a few runs with ever narrower "bisection" steps.


Comment on Re: Who modifies $ENV{PATH}?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-12-22 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls