Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^6: How to conditionally execute a subroutine defined as hash value

by Anonymous Monk
on Apr 02, 2014 at 11:16 UTC ( #1080753=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $test = 'show_stop_user';
    
    ...
    };
    
    $calls->{$test}();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2022-12-05 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?