BSD Ports

devel/p5-Lexical-Var 0.010 DragonFly

Perl module for static variables without namespace pollution

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
22.6 KiB, 46.7 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

The newest version among them is 0.010, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Lexical-Var0.010 newestnone known-[email protected]-
FreeBSDdevel/p5-Lexical-Var0.010 newestnone known-[email protected]-
MidnightBSDdevel/p5-Lexical-Var0.010 newestno data-[email protected]-
HardenedBSDdevel/p5-Lexical-Var0.010 newestno data-[email protected]-
GhostBSDdevel/p5-Lexical-Var0.010 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Lexical-Var

From DPorts:

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

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1