Port details on branch 2022Q2 |
- p5-Lexical-Persistence Persistent lexical variable values for arbitrary calls
- 1.023_1 devel =0 1.023_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2007-01-01 19:00:38
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Lexical-Persistence
- 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" }
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Lexical-Persistence>0:devel/p5-Lexical-Persistence
- To install the port:
- cd /usr/ports/devel/p5-Lexical-Persistence/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Lexical-Persistence
- pkg install p5-Lexical-Persistence
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Lexical-Persistence
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Lexical-Persistence-1.023.tar.gz) = 94d2fa4a743885ca9cea9f7042d9e7a3a69f5bd7cc18aa630c7f7f5e8ae36944
SIZE (Lexical-Persistence-1.023.tar.gz) = 27609
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Devel-LexAlias>=0.04 : devel/p5-Devel-LexAlias
- p5-PadWalker>=1.1 : devel/p5-PadWalker
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Devel-LexAlias>=0.04 : devel/p5-Devel-LexAlias
- p5-PadWalker>=1.1 : devel/p5-PadWalker
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Carp-REPL
- devel/p5-Devel-REPL
- devel/p5-POE-Stage
- for Run
-
- devel/p5-Carp-REPL
- devel/p5-Devel-REPL
- devel/p5-POE-Stage
- devel/perlconsole
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Lexical-Persistence
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|