Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^9: Function name in a variable, can't recall the concept (introspection with ->can )

by LanX (Saint)
on Apr 21, 2019 at 14:00 UTC ( [id://1232845]=note: print w/replies, xml ) Need Help??


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

I already explained.

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

  • Comment on Re^9: Function name in a variable, can't recall the concept (introspection with ->can )

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232845]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found