Package perl-Data-OptList-0.110-17.el9.src
Name | perl-Data-OptList |
---|---|
Epoch | 0 |
Version | 0.110 |
Release | 17.el9 |
Architecture | src |
Website/URL | https://metacpan.org/release/Data-OptList |
License | GPL+ or Artistic |
Build Time | 2023-03-18 02:43:56 |
Build Host | builder-x86-03.inferitos.ru |
Summary | Parse and validate simple name/value option pairs |
Repositories | AppStream |
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: $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. |
Errata | — |
Size | 29 KiB |
Source Project | perl-Data-OptList-0.110-17.el9 |
SHA-256 checksum | 5940fdbc8b9aec218fa921e541b7f1f76fe2139ed9f9b1c2304836def40a38e8 |
×
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 0.110-17 - Rebuilt for MSVSphere 9.1. * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-17 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-16 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937