Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Can you import ENV variables at run time?

by tadman (Prior)
on Jul 26, 2001 at 18:47 UTC ( [id://99996]=note: print w/replies, xml ) Need Help??


in reply to Re: Can you import ENV variables at run time?
in thread Can you import ENV variables at run time?

Any reason you couldn't do something like:
%ENV = ( HOME => $home, PATH => '/bin:/usr/bin:/usr/local/bin:/usr/ucb', );
Seems a lot simpler than explictly deleting every key of %ENV, and then inserting things one by one.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found