devel/p5-WeakRef 0.01_1 FreeBSD
API to the Perl weak references
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 6.0 KiB, 9.8 KiB installed
Description
A patch to Perl 5.005_55 by the author implements a core API for weak references. This module is a Perl-level interface to that API, allowing weak references to be created in Perl.
A weak reference is just like an ordinary Perl reference except that it isn't included in the reference count of the thing referred to. This means that once all references to a particular piece of data are weak, the piece of data is freed and all the weak references are set to undef. This is particularly useful for implementing circular data structures without memory leaks or caches of objects.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-WeakRef | 0.01_1 |
| OpenBSD | devel/p5-WeakRef | 0.01p6 |
| NetBSD | devel/p5-WeakRef | 0.01nb20 |
| DragonFly | devel/p5-WeakRef | 0.01_1 |
Install
Binary package:
pkg install p5-WeakRef
From the ports tree:
cd /usr/ports/devel/p5-WeakRef/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-WeakRef>0:devel/p5-WeakRef
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 | 0.01_1 | 0.01_1 | 0.01_1 | 0.01_1 | 0.01_1 |
| FreeBSD:14:quarterly | 0.01_1 | 0.01_1 | n/a | 0.01_1 | 0.01_1 |
| FreeBSD:15:latest | 0.01_1 | 0.01_1 | n/a | 0.01_1 | 0.01_1 |
| FreeBSD:15:quarterly | 0.01_1 | 0.01_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.01_1 | 0.01_1 | 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 3
- %%PERL5_MAN3%%/WeakRef.3.gz
- %%SITE_ARCH%%/auto/WeakRef/WeakRef.so
- %%SITE_ARCH%%/WeakRef.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| WeakRef-0.01.tar.gz | 3069 | 39506f9d2f5b4f353fd31e3d4764a0a3c85caa6a9df6271dac0e7620a78e616b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.