Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Invoking a method whose name is computed

by afoken (Abbot)
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?
[jedikaiti]: Pretty!

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-09-19 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (222 votes). Check out past polls.

    Notices?