Package perl-Data-OptList-0.110-17.el9.noarch
Name | perl-Data-OptList |
---|---|
Epoch | 0 |
Version | 0.110 |
Release | 17.el9 |
Architecture | noarch |
Website/URL | https://metacpan.org/release/Data-OptList |
License | GPL+ or Artistic |
Build Time | 2023-03-18 02:44:00 |
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 | 25 KiB |
Source Project | perl-Data-OptList-0.110-17.el9 |
SHA-256 checksum | 07af93904e877f506e767fc4079d7c3193a1ca0f11b3772613074c25e40d61e4 |
×
* 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