BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-WeakRef0.01_1
OpenBSDdevel/p5-WeakRef0.01p6
NetBSDdevel/p5-WeakRef0.01nb20
DragonFlydevel/p5-WeakRef0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.01_10.01_10.01_10.01_10.01_1
FreeBSD:14:quarterly0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:latest0.01_10.01_1n/a0.01_10.01_1
FreeBSD:15:quarterly0.01_10.01_1n/an/an/a
FreeBSD:16:latest0.01_10.01_1n/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 3
  • %%PERL5_MAN3%%/WeakRef.3.gz
  • %%SITE_ARCH%%/auto/WeakRef/WeakRef.so
  • %%SITE_ARCH%%/WeakRef.pm
distinfo 1
FileSizeSHA256
WeakRef-0.01.tar.gz306939506f9d2f5b4f353fd31e3d4764a0a3c85caa6a9df6271dac0e7620a78e616b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.