good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: PERL5LIB resets in a new terminal windowby JavaFan (Canon) |
on Apr 27, 2012 at 19:30 UTC ( [id://967705]=note: print w/replies, xml ) | Need Help?? |
Is this normal behaviour?Yes. Note, this is not a Perl issue. The only way environment variables are "shared" is that when a process forks, both parent and child get identical copies. And on an exec, the environment persists. How can I permanently set PERL5LIB?Set it in the process that spawns the xterms. Or by setting it in the shell profile that's run each time an xterm starts.
In Section
Seekers of Perl Wisdom
|
|