Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-07-23 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls