BSD Ports

devel/p5-Hash-AutoHash 1.17_1 DragonFly

Object-oriented access to real and tied hashes

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
28.7 KiB, 77.3 KiB installed

Description

This is yet another module that lets you access or change the elements of a hash using methods with the same name as the element's key. It follows in the footsteps of Hash::AsObject, Hash::Inflator, Data::OpenStruct::Deep, Object::AutoAccessor, and probably others. The main difference between this module and its forebears is that it supports tied hashes, in addition to regular hashes. This allows a modular division of labor: this class is generic and treats all hashes the same; any special semantics come from the tied hash.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Hash-AutoHash1.17_1
FreeBSDdevel/p5-Hash-AutoHash1.17_1
OpenBSDdevel/p5-Hash-AutoHash1.17p0

Install

Binary package:

pkg install p5-Hash-AutoHash

From DPorts:

cd /usr/dports/devel/p5-Hash-AutoHash && make install clean

Dependencies

Run dependencies 3