Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^7: Function name in a variable, can't recall the concept (introspection with ->can )by LanX (Saint) |
on Apr 17, 2019 at 09:09 UTC ( [id://1232705]=note: print w/replies, xml ) | Need Help?? |
Actually I don't understand the discussion anymore, if the OP was willing to inspect a class the natural solution would be ->can. If he wasn't inspecting a class ->can would do the job, too. Are there pathological cases where an approach might break? Of course, this is Perl, with high flexibility to bend internals.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|