FreeBSD.software
Home/devel/p5-Hash-Objectify

p5-Hash-Objectify

0.008

Create objects from hashes on the fly

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.

Origin: devel/p5-Hash-Objectify
Category: devel
Size: 21.4KiB
License: APACHE20
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 0 packages
$pkg install p5-Hash-Objectify

Dependencies (2)

More in devel