SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Data-OptList rpm build for : OpenSuSE. For other distributions click perl-Data-OptList.

Name : perl-Data-OptList
Version : 0.112 Vendor : openSUSE
Release : bp154.1.1 Date : 2021-12-17 08:09:27
Group : Unspecified Source RPM : perl-Data-OptList-0.112-bp154.1.1.src.rpm
Size : 0.03 MB
Packager : https://bugs_opensuse_org
Summary : Parse and validate simple name/value option pairs
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 => { ... },
];

Just look at all those undefs! Don\'t worry, we can get rid of those:

$values = [
map { $_ => undef } qw(foo bar baz),
xyz => { ... },
];

Aaaauuugh! We\'ve saved a little typing, but now it requires thought to
read, and thinking is even worse than typing... and it\'s got a bug! It
looked right, didn\'t it? Well, the \'xyz => { ... }\' gets consumed by the
map, and we don\'t get the data we wanted.

With Data::OptList, you can do this instead:

$values = 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.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP4/step/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Data-OptList-0.112-bp154.1.1.noarch.rpm
ftp.icm.edu.pl  perl-Data-OptList-0.112-bp154.1.1.noarch.rpm
     

Provides :
perl(Data::OptList)
perl-Data-OptList

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Params::Util)
perl(Sub::Install) >= 0.921
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Data
/usr/lib/perl5/vendor_perl/5.26.1/Data/OptList.pm
/usr/lib/perl5/vendor_perl/5.26.1/armv7l-linux-thread-multi
/usr/share/doc/packages/perl-Data-OptList
/usr/share/doc/packages/perl-Data-OptList/Changes
/usr/share/doc/packages/perl-Data-OptList/README
/usr/share/licenses/perl-Data-OptList
/usr/share/licenses/perl-Data-OptList/LICENSE
/usr/share/man/man3/Data::OptList.3pm.gz

 
ICM