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

Re^3: Default Hash Key

by ikegami (Patriarch)
on May 02, 2008 at 21:48 UTC ( [id://684269]=note: print w/replies, xml ) Need Help??


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

Thanks for looking, but that module doesn't do what the OP wants as far as I can tell.

Replies are listed 'Best First'.
Re^4: Default Hash Key
by alexm (Chaplain) on May 03, 2008 at 09:35 UTC

    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.
        Dear (not so) Anonymous Monk,
        since the name is WithDefaults, not WithDefault
        This makes obvious that WithDefaults wasn't such a good choice if a single s can change the meaning so much, IMO.
      Your making a clearly erroneous assumption (the name is ...Defaults) does not warrant replacing a good name with a lousy one.
        Dear (even less) Anonymous Monk,
        does not warrant replacing a good name with a lousy one
        I can't see how WithAlternatives is a lousy name (BTW, it was suggested in good faith) and I still think that it makes more sense. However, it's not for me to say whether the name must be changed (it's been in CPAN since 2002), I was just stating my opinion about the choice made because it seems confusing.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2025-04-19 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.