BSD Ports

devel/p5-Object-Declare 0.25 OpenBSD

declarative object constructor

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
www, devel, perl5

Description

This module exports one function, "declare", for building named objects with a declarative syntax, similar to how Jifty::DBI::Schema defines its columns.

In list context, "declare" returns a list of name/object pairs in the order of declaration (allowing duplicates), suitable for putting into a hash. In scalar context, "declare" returns a hash reference.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Object-Declare0.25
FreeBSDdevel/p5-Object-Declare0.25
NetBSDdevel/p5-Object-Declare0.25nb5
DragonFlydevel/p5-Object-Declare0.25
HardenedBSDdevel/p5-Object-Declare0.25
GhostBSDdevel/p5-Object-Declare0.25

Install

Binary package:

pkg_add p5-Object-Declare

From the ports tree:

cd /usr/ports/devel/p5-Object-Declare && make install

Dependencies

Required by 1