in reply to Re: replicating the command 'unset LIBPATH' in perl
in thread replicating the command 'unset LIBPATH' in perl
and it's right near the top of script.delete $ENV{LIBPATH}
The weird thing is, that whilst it does replicate the unset command on going into the called routine, unlike the unset command it still causes a 'Total Environment allocation failure'.
I realize this is now getting off of perl per se and more into shell commands - but I beg your indulgence, does 'unset LIBPATH' do anything other than delete the path?
I did a comparison of env before and after issuing the command, and aside of the LIBPATH no longer being present, the only other difference was addition of the phrase "SHLVL=1".
Appreciate your time in responding.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: replicating the command 'unset LIBPATH' in perl
by ikegami (Patriarch) on May 18, 2010 at 05:57 UTC | |
by viffer (Beadle) on May 18, 2010 at 06:35 UTC | |
by Anonymous Monk on May 18, 2010 at 07:00 UTC | |
by JavaFan (Canon) on May 18, 2010 at 07:35 UTC | |
by viffer (Beadle) on May 19, 2010 at 02:07 UTC | |
|