How To Install perl-MooseX-Clone on Fedora 36

In this tutorial we learn how to install perl-MooseX-Clone in Fedora 36. perl-MooseX-Clone is Fine grained cloning support for Moose objects

Introduction

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

What is perl-MooseX-Clone

Out of the box Moose only provides very bare-bones cloning support in order to maximize flexibility. This role provides a clone method that makes use of the low level cloning support already in Moose and adds selective deep cloning based on introspection on top of that. Attributes with the Clone trait will handle cloning of data within the object, typically delegating to the attribute value’s own clone method.

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

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

sudo dnf -y install perl-MooseX-Clone

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

sudo yum -y install perl-MooseX-Clone

How To Uninstall perl-MooseX-Clone on Fedora 36

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

sudo dnf remove perl-MooseX-Clone

perl-MooseX-Clone Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-Clone
/usr/share/doc/perl-MooseX-Clone/Changes
/usr/share/man/man3/MooseX::Clone.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::Clone.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::Clone::Base.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::Clone::Std.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::Copy.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::NoClone.3pm.gz
/usr/share/man/man3/MooseX::Clone::Meta::Attribute::Trait::StorableClone.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/Clone
/usr/share/perl5/vendor_perl/MooseX/Clone.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/Clone
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/Clone.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/Clone/Base.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/Clone/Std.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/Copy.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/NoClone.pm
/usr/share/perl5/vendor_perl/MooseX/Clone/Meta/Attribute/Trait/StorableClone.pm

References

Summary

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