in reply to Re^2: goto superclass method
in thread goto superclass method
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,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: goto superclass method
by chromatic (Archbishop) on Dec 22, 2004 at 21:53 UTC | |
by Ovid (Cardinal) on Dec 22, 2004 at 22:19 UTC | |
by Aristotle (Chancellor) on Dec 22, 2004 at 22:37 UTC | |
|
Re^4: goto superclass method
by Joost (Canon) on Dec 22, 2004 at 21:52 UTC |