in reply to Need help with clashing method names
I use namespace-clean (Disclaimer: I implemented it):
Ordinary morality is for ordinary people. -- Aleister Crowley
package Foo; use strict; use warnings; use Scalar::Util qw( blessed ); use parent 'Something::With::A::blessed::Method'; use namespace::clean; # this will show the method in the parent class say Foo->can('blessed');
Ordinary morality is for ordinary people. -- Aleister Crowley
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Need help with clashing method names
by dk (Chaplain) on Feb 17, 2009 at 08:53 UTC | |
by phaylon (Curate) on Feb 18, 2009 at 16:37 UTC | |
by dk (Chaplain) on Feb 18, 2009 at 21:18 UTC | |
by phaylon (Curate) on Feb 19, 2009 at 16:19 UTC |
In Section
Seekers of Perl Wisdom