Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Env Variable value not persistent

by hiseldl (Priest)
on Dec 15, 2006 at 15:06 UTC ( #590038=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # I use bash, but you can put csh here, if you want
    # I added "--norc" so that PS1 is not overridden
    $ perl -e '$ENV{SQUIRREL}="brown";$ENV{PS1}="subshell> ";system("bash"
    +, "--norc")'
    ...
    $ echo $SQUIRREL
    
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://590038]
help
Chatterbox?
[LanX]: Wep programing?

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-05-24 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?