Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Flag variables

by BrowserUk (Pope)
on Mar 03, 2003 at 16:37 UTC ( #240067=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %lookup = ( 
        foo=>\&fooaction, 
    ...
    else {
        #do the default or exception handling here.
    }
    
  2. or download this
    &{ $lookup{$var} || $default_subref }->( parms );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-09-16 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (155 votes), past polls