Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by tadman (Prior)
on Jul 26, 2001 at 18:47 UTC ( #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? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2022-08-15 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?