Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Apr 02, 2014 at 10:25 UTC ( #1080738=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub print_A {
        print "\nA\n";
    ...
    $calls->{'A'}();;
    
    A
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2023-12-05 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (26 votes). Check out past polls.

    Notices?