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

Re^2: Default Hash Key

by alexm (Chaplain)
on May 02, 2008 at 10:21 UTC ( #684128=note: print w/ replies, xml ) Need Help??


in reply to Re: Default Hash Key
in thread Default Hash Key

FYI, Hash-WithDefaults is already available on CPAN ;-)


Comment on Re^2: Default Hash Key
Re^3: Default Hash Key
by ikegami (Pope) on May 02, 2008 at 21:48 UTC
    Thanks for looking, but that module doesn't do what the OP wants as far as I can tell.

      That's true... I assumed it did from the NAME section description :-(

      I guess that Hash::WithAlternatives should've been a more appropiate name for that module.

        Your assumption is clearly erroneous, since the name is WithDefaults, not WithDefault. That name is just fine, and quite superior to your suggestion.
        Your making a clearly erroneous assumption (the name is ...Defaults) does not warrant replacing a good name with a lousy one.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-12-21 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls