ports/devel/p5-Hash-Objectify/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

11 lines
477 B
Text

Hash::Objectify turns a hash reference into a simple object with accessors for
each of the keys.
One application of this module could be to create lightweight response objects
without the extra work of setting up an entire response class with the framework
of your choice.
Using Hash::Objectify is slower than accessing the keys of the hash directly,
but does provide "typo protection" since a misspelled method is an error.
WWW: https://metacpan.org/release/Hash-Objectify