Don't ask to ask, just ask | |
PerlMonks |
Re: How do I reference methods?by Joost (Canon) |
on May 24, 2002 at 16:39 UTC ( [id://169141]=note: print w/replies, xml ) | Need Help?? |
you can use the UNIVERSAL::can method:
This will also follow normal inheritance rules. Note: you probably need to use the object you want to call as the first argument, because normal object methods expect $self to be the first arguments. (that's what $object->call() does anyway)...
In Section
Seekers of Perl Wisdom
|
|