in reply to Re^8: Function name in a variable, can't recall the concept (introspection with ->can )
in thread Function name in a variable, can't recall the concept
But feel free to describe a use case where one might be interested to only call the non-inherited methods of a class, and this without prior knowledge about its OOP nature.
In this light try to read again the OP which uses it's own well known package like a "dispatch" table for ordinary functions.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|