Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Using scalar variable in system set of commands

by tobyink (Abbot)
on Nov 01, 2012 at 14:50 UTC ( #1001842=note: print w/replies, xml ) Need Help??


in reply to Re: Using scalar variable in system set of commands
in thread Using scalar variable in system set of commands

Indeed. The backslashes before the pipes are also unnecessary.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^2: Using scalar variable in system set of commands

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-01-16 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (192 votes). Check out past polls.

    Notices?