Don't ask to ask, just ask | |
PerlMonks |
Re^2: sub that finds ancestor elementsby tobyink (Canon) |
on Sep 13, 2012 at 20:52 UTC ( [id://993575]=note: print w/replies, xml ) | Need Help?? |
Why the colons between the module name and version number? (I doubt you need to specify the version number at all - ppm presumably defaults to the latest version available.)
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
|
|