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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-Tie-ToObject | 0.03p4 |
| FreeBSD | devel/p5-Tie-ToObject | 0.03_2 |
| NetBSD | devel/p5-Tie-ToObject | 0.03nb18 |
| DragonFly | devel/p5-Tie-ToObject | 0.03_2 |
| HardenedBSD | devel/p5-Tie-ToObject | 0.03_2 |
| GhostBSD | devel/p5-Tie-ToObject | 0.03_2 |
Install
Binary package:
pkg_add p5-Tie-ToObject
From the ports tree:
cd /usr/ports/devel/p5-Tie-ToObject && make install