How to Install and Uninstall perl-Data-OptList.noarch Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: October 07,2024

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

This tutorial shows how to install perl-Data-OptList.noarch on Red Hat Enterprise Linux 9 (RHEL 9)

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

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

In this section, we are going to explain the necessary steps to uninstall perl-Data-OptList.noarch on Red Hat Enterprise Linux 9 (RHEL 9):

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

3. Information about the perl-Data-OptList.noarch package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 1:28:33 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : perl-Data-OptList
Version : 0.110
Release : 17.el9
Architecture : noarch
Size : 30 k
Source : perl-Data-OptList-0.110-17.el9.src.rpm
Repository : ubi-9-appstream-rpms
Summary : Parse and validate simple name/value option pairs
URL : https://metacpan.org/release/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.