How To Install perl-MooseX-Role-TraitConstructor on Fedora 36

In this tutorial we learn how to install perl-MooseX-Role-TraitConstructor in Fedora 36. perl-MooseX-Role-TraitConstructor is Wrapper for new that can accept a traits parameter

Introduction

In this tutorial we learn how to install perl-MooseX-Role-TraitConstructor on Fedora 36.

What is perl-MooseX-Role-TraitConstructor

This role allows you to easily accept a traits argument (or another name) into your constructor, which will easily mix roles into an anonymous class before construction, much like Moose

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

Install perl-MooseX-Role-TraitConstructor 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-Role-TraitConstructor using dnf by running the following command:

sudo dnf -y install perl-MooseX-Role-TraitConstructor

Install perl-MooseX-Role-TraitConstructor 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-Role-TraitConstructor using yum by running the following command:

sudo yum -y install perl-MooseX-Role-TraitConstructor

How To Uninstall perl-MooseX-Role-TraitConstructor on Fedora 36

To uninstall only the perl-MooseX-Role-TraitConstructor package we can use the following command:

sudo dnf remove perl-MooseX-Role-TraitConstructor

perl-MooseX-Role-TraitConstructor Package Contents on Fedora 36

/usr/share/man/man3/MooseX::Role::TraitConstructor.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Role
/usr/share/perl5/vendor_perl/MooseX/Role/TraitConstructor.pm

References

Summary

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