There's more than one way to do things | |
PerlMonks |
Re^6: Efficient way to replace a set of values with another set of valuesby tobyink (Canon) |
on Nov 23, 2012 at 16:00 UTC ( [id://1005291]=note: print w/replies, xml ) | Need Help?? |
You were looking for:
Doesn't cope with 0 especially well.
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
|
|