Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-12-21 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (107 votes), past polls