BSD Ports

devel/p5-Hash-Objectify 0.008 FreeBSD

Create objects from hashes on the fly

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, perl5
Package size
10.9 KiB, 21.4 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Hash-Objectify0.008
DragonFlydevel/p5-Hash-Objectify0.008

Install

Binary package:

pkg install p5-Hash-Objectify

From the ports tree:

cd /usr/ports/devel/p5-Hash-Objectify/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Hash-Objectify>0:devel/p5-Hash-Objectify

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0080.0080.0080.0080.008
FreeBSD:14:quarterly0.0080.008n/a0.0080.008
FreeBSD:15:latest0.0080.008n/a0.0080.008
FreeBSD:15:quarterly0.0080.008n/an/an/a
FreeBSD:16:latest0.0080.008n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Hash/Objectify.pm
  • %%PERL5_MAN3%%/Hash::Objectify.3.gz
distinfo 1
FileSizeSHA256
Hash-Objectify-0.008.tar.gz17750236d5829cdebf3ba648d34e1295cd9099a20506d8d0284668e617e0058cebeed
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.