How to Install and Uninstall perl-Data-OptList.noarch Package on Amazon Linux 2
Last updated: November 13,2024
1. Install "perl-Data-OptList.noarch" package
Here is a brief guide to show you how to install perl-Data-OptList.noarch on Amazon Linux 2
$
sudo yum makecache
Copied
$
sudo yum install
perl-Data-OptList.noarch
Copied
2. Uninstall "perl-Data-OptList.noarch" package
This tutorial shows how to uninstall perl-Data-OptList.noarch on Amazon Linux 2:
$
sudo yum remove
perl-Data-OptList.noarch
Copied
$
sudo yum autoremove
Copied
3. Information about the perl-Data-OptList.noarch package on Amazon Linux 2
Loaded plugins: ovl, priorities
Available Packages
Name : perl-Data-OptList
Arch : noarch
Version : 0.107
Release : 9.amzn2
Size : 23 k
Repo : amzn2-core/2/x86_64
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.
Available Packages
Name : perl-Data-OptList
Arch : noarch
Version : 0.107
Release : 9.amzn2
Size : 23 k
Repo : amzn2-core/2/x86_64
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.