"be consistent" | |
PerlMonks |
Re^3: goto superclass methodby Ovid (Cardinal) |
on Dec 22, 2004 at 21:21 UTC ( [id://416910]=note: print w/replies, xml ) | Need Help?? |
Well, calling can directly can break if you have something in @ISA that isn't a class (such as a coderef: Class::Dynamic). Out of habit I try to call UNIVERSAL::can unless the $object->can('can'); Perhaps I'm being overly paranoid. Cheers, New address of my CGI Course.
In Section
Seekers of Perl Wisdom
|
|