Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to set an environment variable in perl so that it's visible to subsequent processes?

by jdporter (Paladin)
on Dec 15, 2006 at 13:31 UTC ( [id://590028]=note: print w/replies, xml ) Need Help??


in reply to How to set an environment variable in perl so that it's visible to subsequent processes?

For Unix at least, the short answer is that it can't be done. This is in the Perl FAQ, by the way: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible?

  • Comment on Re: How to set an environment variable in perl so that it's visible to subsequent processes?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found