develooper Front page | perl.module-authors | Postings from September 2017

Help w/ naming module

Thread Next
From:
Diab Jerius
Date:
September 20, 2017 21:12
Subject:
Help w/ naming module
Message ID:
CADpyd5B_fB=MRz2-36u_y6+wdLGy7ABzzLe8F7_ZGhT7e_K37g@mail.gmail.com
Howdy!

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.

Existing similar modules are

Hash::AsObject
Data::AsObject
Object::Result


Any suggestions?

Thanks,

Diab


[1] https://github.com/djerius/Return-Object
    http://prepan.org/module/nYfNhvSqeCX

[2]  There are a number of existing modules, but other than Return::Result
(which has fairly heavy dependencies), they concentrate on deeply wrapping
hashes, they autovivify, and other things that I feel are inappropriate for
a simple wrapping of a hash.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About