Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 pondering the Monastery: (2)
As of 2016-06-28 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (352 votes). Check out past polls.