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

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

Replies are listed 'Best First'.
Re^3: Default Hash Key
by ikegami (Patriarch) 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.