devel/p5-Lexical-Persistence 1.023_1 FreeBSD
Persistent lexical variable values for arbitrary calls
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 19.4 KiB, 58.8 KiB installed
Description
Lexical::Persistence does a few things, all related. Note that all the behaviors listed here are the defaults. Subclasses can override nearly every aspect of Lexical::Persistence's behavior.
Lexical::Persistence lets your code access persistent data through lexical variables. This example prints "some value" because the value of $x persists in the $lp object between setter() and getter().
use Lexical::Persistence;
my $lp = Lexical::Persistence->new();
$lp->call(\\&setter);
$lp->call(\\&getter);
sub setter { my $x = "some value" }
sub getter { print my $x, "\\n" }
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Lexical-Persistence | 1.023_1 |
| OpenBSD | devel/p5-Lexical-Persistence | 1.023 |
| NetBSD | devel/p5-Lexical-Persistence | 1.023nb13 |
| DragonFly | devel/p5-Lexical-Persistence | 1.023_1 |
| HardenedBSD | devel/p5-Lexical-Persistence | 1.023_1 |
| GhostBSD | devel/p5-Lexical-Persistence | 1.023_1 |
Install
Binary package:
pkg install p5-Lexical-Persistence
From the ports tree:
cd /usr/ports/devel/p5-Lexical-Persistence/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Lexical-Persistence>0:devel/p5-Lexical-Persistence
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 | 1.023_1 | 1.023_1 | 1.023_1 | 1.023_1 | 1.023_1 |
| FreeBSD:14:quarterly | 1.023_1 | 1.023_1 | n/a | 1.023_1 | 1.023_1 |
| FreeBSD:15:latest | 1.023_1 | 1.023_1 | n/a | 1.023_1 | 1.023_1 |
| FreeBSD:15:quarterly | 1.023_1 | 1.023_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.023_1 | 1.023_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Devel-LexAlias>=0.04: devel/p5-Devel-LexAliasp5-PadWalker>=1.1: devel/p5-PadWalker
Runtime 2
p5-Devel-LexAlias>=0.04: devel/p5-Devel-LexAliasp5-PadWalker>=1.1: devel/p5-PadWalker
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 4
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Lexical/Persistence.pm
- %%PERL5_MAN3%%/Lexical::Persistence.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Lexical-Persistence-1.023.tar.gz | 27609 | 94d2fa4a743885ca9cea9f7042d9e7a3a69f5bd7cc18aa630c7f7f5e8ae36944 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.