How To Install perl-IO-Null on Fedora 36

In this tutorial we learn how to install perl-IO-Null in Fedora 36. perl-IO-Null is Class for null filehandles

Introduction

In this tutorial we learn how to install perl-IO-Null on Fedora 36.

What is perl-IO-Null

IO this class always succeeds, returning a new null filehandle. Writing to any object of this class is always a no-operation, and returns true. Reading from any object of this class is always no-operation, and returns empty-string or empty-list, as appropriate.

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

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

sudo dnf -y install perl-IO-Null

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

sudo yum -y install perl-IO-Null

How To Uninstall perl-IO-Null on Fedora 36

To uninstall only the perl-IO-Null package we can use the following command:

sudo dnf remove perl-IO-Null

perl-IO-Null Package Contents on Fedora 36

/usr/share/doc/perl-IO-Null
/usr/share/doc/perl-IO-Null/ChangeLog
/usr/share/doc/perl-IO-Null/README
/usr/share/man/man3/IO::Null.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/Null.pm

References

Summary

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