Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2016-10-24 02:04 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.