package PkgA; use List::Util qw( first ); BEGIN { our @ISA = qw( ... ); } sub foo { 'Whee!' } sub check { return first { $_->can('foo') } @ISA; }
In reply to Re: Detecting Overridden Methods
by ikegami
in thread Detecting Overridden Methods
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |