Name : rh-perl526-perl-Data-OptList
| |
Version : 0.110
| Vendor : Red Hat, Inc_
|
Release : 6.el7
| Date : 2017-12-18 17:00:35
|
Group : Development/Libraries
| Source RPM : rh-perl526-perl-Data-OptList-0.110-6.el7.src.rpm
|
Size : 0.05 MB
| |
Packager : Red Hat, Inc_ < http://bugzilla_redhat_com/bugzilla>
| |
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 => { ... }, ];
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: /vol/rzm1/linux-rhel/rhscl/.3a4f29ff23ca89384920d4958af2f/.0002938f3092e02990a08309ab/.RHSCL-3.1-Alpha-1.2/RHEL-7/aarch64/rpms |