On Thu, Sep 21, 2017 at 1:58 PM, Diab Jerius <djer...@cfa.harvard.edu>
wrote:
>
>
>
> On Thu, Sep 21, 2017 at 12:59 PM, Diab Jerius <djer...@cfa.harvard.edu>
wrote:
> >
> >
> >
> >
> > On Thu, Sep 21, 2017 at 11:30 AM, Michael Greb <mich...@thegrebs.com>
wrote:
> >>
> >> On 09/20, Diab Jerius wrote:
> >> > I've written a module[1] to scratch an itch, namely easily wrapping
hashes
> >> > returned from subroutines as objects[2].
> >> >
> >> > I've named it Return::Object, based on my particular use case, but
I'm
> >> > finding it useful for more general wrapping of hashes, hence my
quest for a
> >> > more general name for it.
> >>
> >> There seems to be a fair number of not directly connected modules
under the
> >> Data::Hash namespace.  I think placing your module alongside these
makes sense
> >> so something like Data::Hash::AsObject, Data::Hash::Object, or the
like  may
> >> be fitting.
> >>
> >> Mike Greb
> >> mikegrb
> >
> >
> >
> > Here's my current list of "almost but not quite" modules:
> >
> > Object::Result
> > Hash::AsObject
> > Data::AsObject
> > Class::Hash
> > Hash::Inflator
> > Hash::AutoHash
> > Hash::Objectify
> >
> > I'll look at the Data::Hash namespace and see what's there for
comparison.
> >
>
> According to CPAN, the Data::Hash namespace only has four modules (!?).
That's a surprise.
>
> Data::Hash::DotNotation
> Data::Hash::Transform
> Data::Hash::Totals
> Data::Hash::Flatten
>
>

After visiting more of CPAN's dusty corners, and considering that most
similar modules are in the Hash:: namespace, I'm leaning towards
Hash::Wrap.  My colleagues seem to think that has something to do with hash
(in the culinary sense) and wonton wrappers. Middle of the afternoon here.
Maybe they're hungry.

Reply via email to