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

Re^2: perl lost its modules!

by Anonymous Monk
on Sep 07, 2015 at 22:30 UTC ( #1141279=note: print w/replies, xml ) Need Help??

in reply to Re: perl lost its modules!
in thread perl lost its modules!

Hi, Thanks to this thread I found out why my script was failing with a similar error. All was fine with the root and user account, but failed when I sudo -u myser in root crontab. The @INC included (last, well hidden) the '.' which was actually... /root of course. So just a cd in the launching shell script and voila, but it took me too much effort and wasted time over this (stupid) new perl behaviour. I do not give a damn if @INC (or PATH, or LD_LIBRARY_PATH or WHATEVER PATH) includes a sometimes non-readable directory. My special thanks for the wasted time (and VERY unhappy clients of mine) to all the morons who coded this new perl behavior.


Why did you make an upgrade without testing first?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2020-08-14 20:27 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (76 votes). Check out past polls.