Just another Perl shrine | |
PerlMonks |
Re: Dynamic Method Callsby runrig (Abbot) |
on Aug 28, 2001 at 01:23 UTC ( [id://108275]=note: print w/replies, xml ) | Need Help?? |
So my question is the following: Is there some way I can get method behavior (looking though the namespaces in the @ISA package) when I don't know the name of the method until runtime? Or do I have to look through the @ISA array myself?
That's what AUTOLOAD is for. Check out perldoc perltoot.
In Section
Seekers of Perl Wisdom
|
|