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

Re: Assigning output of unix command to a variable

by ikegami (Pope)
on Dec 23, 2009 at 01:36 UTC ( #814037=note: print w/replies, xml ) Need Help??


in reply to Assigning output of unix command to a variable

Is the only problem that you forgot to escape the $ in $2? $2 is getting interpolated just like $_.

( Oops, I must have had this node open a while since almut already said this a while ago, and she caught a problem I missed. )

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814037]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (15)
As of 2017-02-23 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (347 votes). Check out past polls.