Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: setting ENV variables

by bassplayer (Monsignor)
on Jun 22, 2004 at 14:50 UTC ( #368742=note: print w/ replies, xml ) Need Help??


in reply to setting ENV variables

Not sure if you mean from a perl script or not. From system command line (in Linux), this works:

export PERLMONKS=EDUCATIONAL.

I believe that settings made using this format (system call from script) will persist after your script has finished, but not to other web processes, for example.

Update: Not it won't. :-( That'll teach me not to test first. :-) The above does work from command line though.

bassplayer


Comment on Re: setting ENV variables
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2015-07-06 12:51 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 (74 votes), past polls