Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Invoking a method whose name is computed

by afoken (Prior)
on Oct 02, 2012 at 05:43 UTC ( #996802=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Class->can("prefix_$name")->(Class,'first argument');
    $object->can("prefix_$name")->($object,'first argument');
    
  2. or download this
    my $method="prefix_$name";
    Class->$method('first argument');
    $object->$method('first argument');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-05-05 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (115 votes), past polls