Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: multiple keys - one value

by sandfly (Beadle)
on Sep 11, 2003 at 18:14 UTC ( #290854=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %h = (
        HELP => $_ = sub {print "help\n"},
        "?"  => $_,
        SAVE => sub {print "save\n"},
    );
    
  2. or download this
    my ($help, $save);
    my %h = (
    ...
        SAVE => $save = sub {print "save\n"},
        EXIT => $save,
    );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-10-20 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (119 votes). Check out past polls.

    Notices?