|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^4: sub that finds ancestor elementsby tobyink (Prior) |
| on Sep 14, 2012 at 05:45 UTC ( #993652=note: print w/ replies, xml ) | Need Help?? |
|
Replace this:
With this:
... and you should be able to use XML::LibXML 1.70.
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
|
|
||||||||||||||||||||