in reply to Re (tilly) 1: Considering hash slices, past, present and future
in thread Considering hash slices, past, present and future

Coincidentally, I was thinking just last week about writing a Tie::StdHash module that overloaded addition for just such an effect...

I was curious, do you think that would be overkill for what amounts to just some syntatic sugar? Would it be better to just go with a simple function call, or is there perhaps some worth to be found in creating a whole module/class devoted to adding (and perhaps subtracting) hashes?

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.

  • Comment on (bbfu) (syntax suga) Re2: (tilly) 1: Considering hash slices, past, present and future