p5-Data-OptList-0.110.txz


Advertisement

Description

p5-Data-OptList - Parse and validate simple name/value option pairs

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-Data-OptList-0.110.txz
Package name p5-Data-OptList
Package version 0.110
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Data-OptList
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 13.34 KB
Installed size 51.14 KB
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.
WWW: https://metacpan.org/release/Data-OptList

Alternatives

Package Version Architecture Repository
p5-Data-OptList-0.110.txz 0.110 i386 FreeBSD Ports Quarterly
p5-Data-OptList-0.110.txz 0.110 amd64 FreeBSD Ports Quarterly
p5-Data-OptList-0.110.txz 0.110 i386 FreeBSD Ports Latest
p5-Data-OptList - - -

Requires

Name Value
p5-Params-Util = 1.07_2
p5-Sub-Install = 0.928_1
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Data-OptList-0.110.txz
Source Package devel/p5-Data-OptList

Install Howto

Install p5-Data-OptList txz package:

# pkg install p5-Data-OptList

See Also

Package Description
p5-Data-Page-2.03.txz Pager utility for Class::DBI
p5-Data-Page-NoTotalEntries-0.02_2.txz Perl extension for paging results without total entries
p5-Data-Page-Pageset-1.02_1.txz Perl extension to simplify page number lists
p5-Data-Pageset-1.06_2.txz Page numbering and page sets
p5-Data-ParseBinary-0.31_1.txz Yet Another parser for binary structures
p5-Data-Password-1.12.txz Assess password quality
p5-Data-Path-1.4.1_1.txz XPath-like access to complex data structures
p5-Data-Peek-0.48.txz Collection of low-level debug facilities
p5-Data-Perl-0.002009_1.txz Base classes wrapping fundamental Perl data types
p5-Data-Phrasebook-0.35_2.txz Accessing phrasebooks from various data sources
p5-Data-Phrasebook-Loader-YAML-0.13_1.txz Loader class for phrasebook implementations using YAML
p5-Data-Printer-0.40.txz Colored pretty-print of Perl data structures and objects
p5-Data-Properties-0.02_1.txz Data::Properties - persistent properties
p5-Data-Rand-0.0.4_1.txz Perl module for generating random strings or arrays
p5-Data-Rand-Obscure-0.021_1.txz Perl module for generating (fairly) random strings easily
Advertisement
Advertisement