Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Articuno's scratchpad

by Articuno (Beadle)
on Sep 09, 2005 at 15:19 UTC ( [id://490601]=scratchpad: print w/replies, xml ) Need Help??

Tricks, tips, one-liners, and friends

* Hash for testing for existence of keys:

my @words = qw(john mary ted larry wendel); my %dict; @dict{@words} = undef; print "larry exists \n" if exists $dict{'larry'}; print "bill exists \n" if exists $dict{'bill'}; print "bill doesn't exist \n" unless exists $dict{'bill'};
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-18 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found