Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Using scalar variable in system set of commandsby tobyink (Canon) |
on Nov 01, 2012 at 14:50 UTC ( [id://1001842]=note: print w/replies, xml ) | Need Help?? |
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'
In Section
Seekers of Perl Wisdom
|
|