Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Specifying a shell for use with Backticks

by fletcher_the_dog (Friar)
on Apr 11, 2006 at 19:23 UTC ( #542644=note: print w/replies, xml ) Need Help??


in reply to Specifying a shell for use with Backticks

You can specify enviornment variables for commands done in backticks by using the special %ENV hash, like this
$ENV{FRED}="JONES"; # this will print JONES print `echo \$FRED`;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2021-04-13 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?