BSD Ports

devel/p5-Const-Fast 0.014_2 FreeBSD

Facility for creating read-only scalars, arrays, and hashes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
8.4 KiB, 13.3 KiB installed

Description

This module was written because I stumbled on some serious issues of Readonly that aren't easily fixable without breaking backwards compatibility in subtle ways. In particular Readonly's use of ties is a source of subtle bugs and bad performance. Instead, this module uses the builtin readonly feature of perl, making access to the variables just as fast as any normal variable without the weird side-effects of ties. Readonly can do the same for scalars when Readonly::XS is installed, but chooses not to do so in the most common case.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Const-Fast0.014_2
OpenBSDdevel/p5-Const-Fast0.014
NetBSDdevel/p5-Const-Fast0.014nb13
DragonFlydevel/p5-Const-Fast0.014_2

Install

Binary package:

pkg install p5-Const-Fast

From the ports tree:

cd /usr/ports/devel/p5-Const-Fast/ && make install clean

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

RUN_DEPENDS=	p5-Const-Fast>0:devel/p5-Const-Fast

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.014_20.014_20.014_20.014_20.014_2
FreeBSD:14:quarterly0.014_20.014_2n/a0.014_20.014_2
FreeBSD:15:latest0.014_20.014_2n/a0.014_20.014_2
FreeBSD:15:quarterly0.014_20.014_2n/an/an/a
FreeBSD:16:latest0.014_20.014_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

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

Build dependencies 11
Run dependencies 6

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Const::Fast.3.gz
  • %%SITE_PERL%%/Const/Fast.pm
distinfo 1
FileSizeSHA256
Const-Fast-0.014.tar.gz12886f805953a08c57846a16a4d85d7b766398afaf7c36c1465fcb1dea09e5fa394db
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.