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

Re^2: Changing a unix users environment

by bdimych (Monk)
on Oct 26, 2007 at 09:29 UTC ( [id://647348]=note: print w/replies, xml ) Need Help??


in reply to Re: Changing a unix users environment
in thread Changing a unix users environment

the same
~/bdimych >cat x.pl #!/usr/bin/perl print "eval export \"MYENVVAR=MY ENV VALUE3\";\n"; print ": : If you see this, then you launch this script in wrong way : You should launch it only backslashed i.e. `$0` : See \"Command Substitution\" in man bash : "; ~/bdimych >echo $MYENVVAR ~/bdimych >./x.pl eval export "MYENVVAR=MY ENV VALUE3"; : : If you see this, then you launch this script in wrong way : You should launch it only backslashed i.e. `./x.pl` : See "Command Substitution" in man bash : ~/bdimych >`./x.pl` ~/bdimych >echo $MYENVVAR MY ENV VALUE3 ~/bdimych >

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-18 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found