Re: Help w/ naming module

[email protected] (Diab Jerius)
Newsgroups perl.module-authors
Message-ID <CADpyd5A=rkfM15BGJ-XR8rZNTBRCxWB1tvv2ezebDUbcd6-tPQ@mail.gmail.com>
On Thu, Sep 21, 2017 at 11:30 AM, Michael Greb <[email protected]> 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.

Thanks for the suggestion.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.