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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Lexical-Var | 0.010 |
| DragonFly | devel/p5-Lexical-Var | 0.010 |
| MidnightBSD | devel/p5-Lexical-Var | 0.010 |
| HardenedBSD | devel/p5-Lexical-Var | 0.010 |
| GhostBSD | devel/p5-Lexical-Var | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.010 | 0.010 | 0.009_2 | 0.010 | 0.010 |
| FreeBSD:14:quarterly | 0.010 | 0.010 | n/a | 0.010 | 0.010 |
| FreeBSD:15:latest | 0.010 | 0.010 | n/a | 0.010 | 0.010 |
| FreeBSD:15:quarterly | 0.010 | 0.010 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.010 | 0.010 | 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 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
| File | Size | SHA256 |
|---|---|---|
| Lexical-Var-0.010.tar.gz | 40757 | 26f7e63a19508d23588ddbda7a35bdf803424955badb05ddcbd3c75151e40a9a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.