BSD Ports

devel/p5-Tie-RefHash 1.41 FreeBSD

Use references as hash keys in Perl

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART20, GPLv1
Categories
devel, perl5
Package size
13.9 KiB, 32.3 KiB installed

Description

This module provides the ability to use references as hash keys if you first "tie" the hash variable to this module. Normally, only the keys of the tied hash itself are preserved as references; to use references as keys in hashes-of-hashes, use Tie::RefHash::Nestable, included as part of Tie::RefHash.

It is implemented using the standard perl TIEHASH interface. Please see the "tie" entry in perlfunc(1) and perltie(1) for more information.

The Nestable version works by looking for hash references being stored and converting them to tied hashes so that they too can have references as keys. This will happen without warning whenever you store a refer- ence to one of your own hashes in the tied hash.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Tie-RefHash1.41
DragonFlydevel/p5-Tie-RefHash1.41
HardenedBSDdevel/p5-Tie-RefHash1.41
GhostBSDdevel/p5-Tie-RefHash1.41

Install

Binary package:

pkg install p5-Tie-RefHash

From the ports tree:

cd /usr/ports/devel/p5-Tie-RefHash/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Tie-RefHash>0:devel/p5-Tie-RefHash

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.411.411.401.411.41
FreeBSD:14:quarterly1.411.41n/a1.411.41
FreeBSD:15:latest1.411.41n/a1.411.41
FreeBSD:15:quarterly1.411.41n/an/an/a
FreeBSD:16:latest1.411.41n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Tie/RefHash.pm
  • %%PERL5_MAN3%%/Tie::RefHash.3.gz
distinfo 1
FileSizeSHA256
Tie-RefHash-1.41.tar.gz3336848143505b176665896ac4276167c2cabe94ddb59c59d81610444f1bd36843138
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.