Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do I reference methods?

by LanX (Saint)
on Dec 23, 2008 at 12:54 UTC ( [id://732284]=note: print w/replies, xml ) Need Help??


in reply to How do I reference methods?

Many complicated ways of calling the reference to a method have been proposed. This one is easier and straightforward.
$obj->$ref2meth(...paras...);
Unfortunately the documentation is lousy, that's why it's fairly unknown! For more details please see OOP: Obj->Coderef for calling Private Methods

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found