BSD Ports

devel/p5-Lexical-Var 0.010 FreeBSD

Perl module for static variables without namespace pollution

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

Description

Perl module for static variables without namespace pollution

Lexical::Var and Lexical::Sub implement lexical scoping of static variables and subroutines. Although it can be used directly, it is mainly intended to be infrastructure for modules that export particular objects.

Lexical::Var only manages variables of static duration (the kind of duration that our and state variables have). To get a fresh variable for each invocation of a function, use my.

Lexical::Sub is implemented through the mechanism of Lexical::Var. Its distinct name and declaration syntax exist to make lexical subroutine declarations clearer.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Lexical-Var0.010
DragonFlydevel/p5-Lexical-Var0.010
MidnightBSDdevel/p5-Lexical-Var0.010
HardenedBSDdevel/p5-Lexical-Var0.010
GhostBSDdevel/p5-Lexical-Var0.010

Install

Binary package:

pkg install p5-Lexical-Var

From the ports tree:

cd /usr/ports/devel/p5-Lexical-Var/ && make install clean

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

RUN_DEPENDS=	p5-Lexical-Var>0:devel/p5-Lexical-Var

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.0100.0100.009_20.0100.010
FreeBSD:14:quarterly0.0100.010n/a0.0100.010
FreeBSD:15:latest0.0100.010n/a0.0100.010
FreeBSD:15:quarterly0.0100.010n/an/an/a
FreeBSD:16:latest0.0100.010n/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 2
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 5
  • %%SITE_ARCH%%/Lexical/Sub.pm
  • %%SITE_ARCH%%/Lexical/Var.pm
  • %%SITE_ARCH%%/auto/Lexical/Var/Var.so
  • %%PERL5_MAN3%%/Lexical::Sub.3.gz
  • %%PERL5_MAN3%%/Lexical::Var.3.gz
distinfo 1
FileSizeSHA256
Lexical-Var-0.010.tar.gz4075726f7e63a19508d23588ddbda7a35bdf803424955badb05ddcbd3c75151e40a9a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.