Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Apr 02, 2014 at 10:25 UTC ( [id://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 meditating upon the Monastery: (5)
As of 2024-04-23 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found