Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Idiom: hashes as sets

by Narveson (Chaplain)
on Jul 02, 2008 at 19:22 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://695187]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-24 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found