devel/p5-Lexical-Var 0.010 MidnightBSD
Perl module for static variables without namespace pollution
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- devel, perl5
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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Lexical-Var | 0.010 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Lexical-Var | 0.010 newest | none known | - | [email protected] | - |
| DragonFly | devel/p5-Lexical-Var | 0.010 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Lexical-Var | 0.010 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Lexical-Var | 0.010 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-Lexical-Var
From mports:
cd /usr/mports/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
Dependencies
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
Manual pages 2
- Lexical::Sub(3)
- Lexical::Var(3)
pkg-plist 14
- %%SITE_PERL%%/auto/Lexical/Var/Var.so
- %%SITE_PERL%%/man/man3/Lexical::Var.3.gz
- %%SITE_PERL%%/man/man3/Lexical::Sub.3.gz
- %%SITE_PERL%%/Lexical/Var.pm
- %%SITE_PERL%%/Lexical/Sub.pm
- @dir %%SITE_PERL%%/auto/Lexical/Var
- @dir %%SITE_PERL%%/auto/Lexical
- @dir %%SITE_PERL%%/auto
- @dir %%SITE_PERL%%/man/man3
- @dir %%SITE_PERL%%/man
- @dir %%SITE_PERL%%/Lexical
- @dir
- @dir lib/perl5/site_perl
- @dir lib/perl5
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Lexical-Var-0.010.tar.gz | 40757 | 26f7e63a19508d23588ddbda7a35bdf803424955badb05ddcbd3c75151e40a9a |
Master sites 1
- CPAN