Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Data-OptList | Distribution: CentOS |
Version: 0.114 | Vendor: CentOS |
Release: 4.el10 | Build date: Wed Feb 21 07:22:58 2024 |
Group: Unspecified | Build host: s390-06.stream.rdu2.redhat.com |
Size: 51241 | Source RPM: perl-Data-OptList-0.114-4.el10.src.rpm |
Packager: builder@centos.org | |
Url: https://metacpan.org/release/Data-OptList | |
Summary: Parse and validate simple name/value option pairs |
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: $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.
GPL-1.0-or-later OR Artistic-1.0-Perl
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun May 07 2023 Paul Howarth <paul@city-fan.org> - 0.114-1 - Update to 0.114 - Data::OptList now requires perl v5.12.0 - Tests no longer add "-T" to shebang, so do not invoke taint mode * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 01 2023 Paul Howarth <paul@city-fan.org> - 0.113-1 - Update to 0.113 (rhbz#2157247) - Update author contact info - Use SPDX-format license tag * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.112-4 - Perl 5.36 rebuild
/usr/share/doc/perl-Data-OptList /usr/share/doc/perl-Data-OptList/Changes /usr/share/doc/perl-Data-OptList/README /usr/share/doc/perl-Data-OptList/t /usr/share/doc/perl-Data-OptList/t/00-report-prereqs.dd /usr/share/doc/perl-Data-OptList/t/00-report-prereqs.t /usr/share/doc/perl-Data-OptList/t/hash.t /usr/share/doc/perl-Data-OptList/t/mkopt.t /usr/share/licenses/perl-Data-OptList /usr/share/licenses/perl-Data-OptList/LICENSE /usr/share/man/man3/Data::OptList.3pm.gz /usr/share/perl5/vendor_perl/Data /usr/share/perl5/vendor_perl/Data/OptList.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Aug 14 16:00:56 2024