How to Install and Uninstall perl-Data-OptList.noarch Package on Rocky Linux 8

Last updated: November 14,2024

1. Install "perl-Data-OptList.noarch" package

This guide covers the steps necessary to install perl-Data-OptList.noarch on Rocky Linux 8

$ sudo dnf update $ sudo dnf install perl-Data-OptList.noarch

2. Uninstall "perl-Data-OptList.noarch" package

This is a short guide on how to uninstall perl-Data-OptList.noarch on Rocky Linux 8:

$ sudo dnf remove perl-Data-OptList.noarch $ sudo dnf autoremove

3. Information about the perl-Data-OptList.noarch package on Rocky Linux 8

Last metadata expiration check: 1:25:05 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : perl-Data-OptList
Version : 0.110
Release : 6.el8
Architecture : noarch
Size : 30 k
Source : perl-Data-OptList-0.110-6.el8.src.rpm
Repository : appstream
Summary : Parse and validate simple name/value option pairs
URL : http://search.cpan.org/dist/Data-OptList/
License : GPL+ or Artistic
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.