Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: PERL5LIB resets in a new terminal window

by JavaFan (Canon)
on Apr 27, 2012 at 19:30 UTC ( #967705=note: print w/ replies, xml ) Need Help??


in reply to PERL5LIB resets in a new terminal window

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.


Comment on Re: PERL5LIB resets in a new terminal window

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-02 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls