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

Re^2: Idiom: hashes as sets

by Narveson (Chaplain)
on Jul 02, 2008 at 19:22 UTC ( #695187=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %set;
    @set{qw(I agree)} = ();
    print sort keys %set;      # Iagree
    
  2. or download this
    @set{@list} = (undef) x scalar @list;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-08-21 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls