Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-08-14 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?