Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Articuno's scratchpad

by Articuno (Beadle)
on Sep 09, 2005 at 15:19 UTC ( #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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-30 15:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (272 votes), past polls