How To Install perl-MooseX-Has-Options on Fedora 36

In this tutorial we learn how to install perl-MooseX-Has-Options in Fedora 36. perl-MooseX-Has-Options is Succinct options for Moose

Introduction

In this tutorial we learn how to install perl-MooseX-Has-Options on Fedora 36.

What is perl-MooseX-Has-Options

This module provides a succinct syntax for declaring options for Moose attributes. It hijacks the ‘has’ function imported by Moose and replaces it with one that understands the options syntax.

We can use yum or dnf to install perl-MooseX-Has-Options on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MooseX-Has-Options.

Install perl-MooseX-Has-Options on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-MooseX-Has-Options using dnf by running the following command:

sudo dnf -y install perl-MooseX-Has-Options

Install perl-MooseX-Has-Options on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-MooseX-Has-Options using yum by running the following command:

sudo yum -y install perl-MooseX-Has-Options

How To Uninstall perl-MooseX-Has-Options on Fedora 36

To uninstall only the perl-MooseX-Has-Options package we can use the following command:

sudo dnf remove perl-MooseX-Has-Options

perl-MooseX-Has-Options Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-Has-Options
/usr/share/doc/perl-MooseX-Has-Options/Changes
/usr/share/doc/perl-MooseX-Has-Options/LICENSE
/usr/share/doc/perl-MooseX-Has-Options/README
/usr/share/man/man3/MooseX::Has::Options.3pm.gz
/usr/share/man/man3/MooseX::Has::Options::Handler::Accessors.3pm.gz
/usr/share/man/man3/MooseX::Has::Options::Handler::NativeTypes.3pm.gz
/usr/share/man/man3/MooseX::Has::Options::Handler::NoInit.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Has
/usr/share/perl5/vendor_perl/MooseX/Has/Options
/usr/share/perl5/vendor_perl/MooseX/Has/Options.pm
/usr/share/perl5/vendor_perl/MooseX/Has/Options/Handler
/usr/share/perl5/vendor_perl/MooseX/Has/Options/Handler/Accessors.pm
/usr/share/perl5/vendor_perl/MooseX/Has/Options/Handler/NativeTypes.pm
/usr/share/perl5/vendor_perl/MooseX/Has/Options/Handler/NoInit.pm

References

Summary

In this tutorial we learn how to install perl-MooseX-Has-Options on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).