Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-03-25 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.