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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Tie-RefHash | 1.41 |
| DragonFly | devel/p5-Tie-RefHash | 1.41 |
| HardenedBSD | devel/p5-Tie-RefHash | 1.41 |
| GhostBSD | devel/p5-Tie-RefHash | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.41 | 1.41 | 1.40 | 1.41 | 1.41 |
| FreeBSD:14:quarterly | 1.41 | 1.41 | n/a | 1.41 | 1.41 |
| FreeBSD:15:latest | 1.41 | 1.41 | n/a | 1.41 | 1.41 |
| FreeBSD:15:quarterly | 1.41 | 1.41 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.41 | 1.41 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| Tie-RefHash-1.41.tar.gz | 33368 | 48143505b176665896ac4276167c2cabe94ddb59c59d81610444f1bd36843138 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.