Port details on branch 2022Q2 |
- p5-Data-OptList Parse and validate simple name/value option pairs
- 0.114 devel =26 0.114Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-06-06 16:37:56
- Last Update: 2023-05-07 23:20:10
- Commit Hash: 88cb40a
- People watching this port, also watch:: p5-Params-Util, expat, p5-Net-SSLeay, p5-Sub-Exporter, pcre
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Data-OptList
- Description:
- Hashes are great for storing named data, but if you want more than one entry
for a name, you have to use a list of pairs. Even then, this is really boring
to write:
@values = (
foo => undef,
bar => undef,
baz => undef,
xyz => { ... },
);
With Data::OptList, you can do this instead:
Data::OptList::mkopt([
qw(foo bar baz),
xyz => { ... },
]);
This works by assuming that any defined scalar is a name and any reference
following a name is its value.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Data-OptList>0:devel/p5-Data-OptList
- To install the port:
- cd /usr/ports/devel/p5-Data-OptList/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Data-OptList
- pkg install p5-Data-OptList
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Data-OptList
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1683499944
SHA256 (Data-OptList-0.114.tar.gz) = 9fd1093b917a21fb79ae1607db53d113b4e0ad8fe0ae776cb077a7e50044fdf3
SIZE (Data-OptList-0.114.tar.gz) = 19891
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-Params-Util>=0.14 : devel/p5-Params-Util
- p5-Sub-Install>=0.92 : devel/p5-Sub-Install
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Params-Util>=0.14 : devel/p5-Params-Util
- p5-Sub-Install>=0.92 : devel/p5-Sub-Install
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Class-Load
- devel/p5-Module-Build-Pluggable
- devel/p5-Moose
- devel/p5-Sub-Exporter
- devel/p5-Test-Moose-More
- devel/p5-syntax
- www/p5-Catalyst-Runtime
-
Deleted ports which required this port:
- for Run
-
- devel/p5-Class-Load
- devel/p5-Module-Build-Pluggable
- devel/p5-Moose
- devel/p5-Sub-Exporter
- devel/p5-Test-Moose-More
- devel/p5-syntax
- www/p5-Catalyst-Runtime
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Data-OptList
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|