BSD Ports

devel/p5-Tie-ToObject 0.03nb18 NetBSD

Tie to an existing object

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
Categories
textproc, perl5
Package size
5.8 KiB, 4.9 KiB installed

Description

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

This class provides a very tie constructor that simply returns the object it was given as it's first argument.

This way side effects of calling $object->TIEHASH are avoided.

This is used in Data::Visitor in order to tie a variable to an already existing object. This is also useful for cloning, when you want to clone the internal state object instead of going through the tie interface for that variable.

In the other systems

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

Install

Binary package:

pkgin install p5-Tie-ToObject

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Tie-ToObject && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_640.03nb18
NetBSD 10.1 aarch640.03nb17
SmartOS / illumos x86_640.03nb18
macOS 15 arm640.03nb18

Dependencies

Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0