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

Re: how to call a sub via variable in library

by Anonymous Monk
on Nov 17, 2014 at 20:19 UTC ( [id://1107473]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $key = do {
        no strict 'refs';
    ...
    };
    
    $self->{$key}->($system);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found