How To Install perl-Data-Clone on Fedora 36

In this tutorial we learn how to install perl-Data-Clone in Fedora 36. perl-Data-Clone is Polymorphic data cloning

Introduction

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

What is perl-Data-Clone

Data smart so that it works with not only non-blessed references, but also with blessed references (i.e. objects). When clone() finds an object, it calls a clone method of the object if the object has a clone, otherwise it makes a surface copy of the object. That is, this module does polymorphic data cloning.

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

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

sudo dnf -y install perl-Data-Clone

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

sudo yum -y install perl-Data-Clone

How To Uninstall perl-Data-Clone on Fedora 36

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

sudo dnf remove perl-Data-Clone

perl-Data-Clone Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/f7da382ba953cbdf3dd1ed67d495ebeb34679a
/usr/lib64/perl5/vendor_perl/Data
/usr/lib64/perl5/vendor_perl/Data/Clone.pm
/usr/lib64/perl5/vendor_perl/auto/Data
/usr/lib64/perl5/vendor_perl/auto/Data/Clone
/usr/lib64/perl5/vendor_perl/auto/Data/Clone/Clone.so
/usr/lib64/perl5/vendor_perl/auto/Data/Clone/data_clone.h
/usr/share/doc/perl-Data-Clone
/usr/share/doc/perl-Data-Clone/Changes
/usr/share/doc/perl-Data-Clone/README
/usr/share/man/man3/Data::Clone.3pm.gz

References

Summary

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