|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: 20 most important Perl Best Practicesby tobyink (Canon) |
| on Aug 24, 2012 at 15:56 UTC ( [id://989577]=note: print w/replies, xml ) | Need Help?? |
|
It's not especially difficult...
MooseX::Privacy makes creating private and protected methods really easy (if you're already using Moose).
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Meditations
|
|
||||||||||||||||||||||||||||||||||