How To Install perl-Devel-GlobalDestruction on Fedora 36

In this tutorial we learn how to install perl-Devel-GlobalDestruction in Fedora 36. perl-Devel-GlobalDestruction is Expose PL_dirty, the flag that marks global destruction

Introduction

In this tutorial we learn how to install perl-Devel-GlobalDestruction on Fedora 36.

What is perl-Devel-GlobalDestruction

Perl’s global destruction is a little tricky to deal with with respect to finalizers because it’s not ordered and objects can sometimes disappear. Writing defensive destructors is hard and annoying, and usually if global destruction is happening you only need the destructors that free up non process local resources to actually execute. For these constructors you can avoid the mess by simply bailing out if global destruction is in effect.

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

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

sudo dnf -y install perl-Devel-GlobalDestruction

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

sudo yum -y install perl-Devel-GlobalDestruction

How To Uninstall perl-Devel-GlobalDestruction on Fedora 36

To uninstall only the perl-Devel-GlobalDestruction package we can use the following command:

sudo dnf remove perl-Devel-GlobalDestruction

perl-Devel-GlobalDestruction Package Contents on Fedora 36

/usr/share/doc/perl-Devel-GlobalDestruction
/usr/share/doc/perl-Devel-GlobalDestruction/Changes
/usr/share/doc/perl-Devel-GlobalDestruction/README
/usr/share/doc/perl-Devel-GlobalDestruction/t
/usr/share/doc/perl-Devel-GlobalDestruction/t/01_basic.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/02_thread.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/03_minusc.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/04_phases.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/05_thread_clone.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/06_load-in-gd.t
/usr/share/doc/perl-Devel-GlobalDestruction/t/10_pure-perl.t
/usr/share/man/man3/Devel::GlobalDestruction.3pm.gz
/usr/share/perl5/vendor_perl/Devel
/usr/share/perl5/vendor_perl/Devel/GlobalDestruction.pm

References

Summary

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