BSD Ports

devel/p5-Tie-ToObject 0.03p4 OpenBSD

tie to an existing object

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

Description

While "tie" in Perl allows tying to an arbitrary object, the class in question must support this in it's implementation of TIEHASH, TIEARRAY or whatever.

Tie::ToObject provides a very tie constructor that simply returns the object it was given as it's first argument. That way the side effects of calling $object->TIEHASH are avoided.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Tie-ToObject0.03p4
FreeBSDdevel/p5-Tie-ToObject0.03_2
NetBSDdevel/p5-Tie-ToObject0.03nb18
DragonFlydevel/p5-Tie-ToObject0.03_2
HardenedBSDdevel/p5-Tie-ToObject0.03_2
GhostBSDdevel/p5-Tie-ToObject0.03_2

Install

Binary package:

pkg_add p5-Tie-ToObject

From the ports tree:

cd /usr/ports/devel/p5-Tie-ToObject && make install

Dependencies