Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Reference to a method within Object::InsideOut/parent class

by friedo (Prior)
on Jul 06, 2008 at 04:41 UTC ( [id://695787]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dispatcher = ( foo => 'set_foo', bar => 'set_bar' );
    my $method = $dispatcher{$code};
    $self->$method( $parameter );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found