Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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. )


Comment on Re: Assigning output of unix command to a variable
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-12-28 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (178 votes), past polls