|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^5: is my api wrapper abstraction ok (is it perlish?)by tobyink (Prior) |
| on Jan 19, 2013 at 18:45 UTC ( #1014230=note: print w/ replies, xml ) | Need Help?? |
|
Obviously it's up to you to judge whether it's suitably stable, but Moose and DBIx::Class both use Sub::Name, so personally I'd consider it to be pretty reliable.
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
|
|
||||||||||||||||||||||