Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Default Hash Key

by toolic (Chancellor)
on May 02, 2008 at 00:52 UTC ( #684065=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
        my ($href, $key) = @_;
        return (exists $href->{$key}) ? $href->{$key} : 'not in the alphab
    +et';
    }
    
  2. or download this
    a is a vowel
    b is a consonant
    ~ is not in the alphabet
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-10-31 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (217 votes), past polls