How To Install perl-CPS on Fedora 36

In this tutorial we learn how to install perl-CPS in Fedora 36. perl-CPS is CPS Perl module

Introduction

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

What is perl-CPS

The functions in this module implement or assist the writing of programs, or parts of them, in Continuation Passing Style (CPS). Briefly, CPS is a style of writing code where the normal call/return mechanism is replaced by explicit “continuations”, values passed in to functions which they should invoke, to implement return behavior. For more detail on CPS, see the SEE ALSO section.

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

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

sudo dnf -y install perl-CPS

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

sudo yum -y install perl-CPS

How To Uninstall perl-CPS on Fedora 36

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

sudo dnf remove perl-CPS

perl-CPS Package Contents on Fedora 36

/usr/share/doc/perl-CPS
/usr/share/doc/perl-CPS/Changes
/usr/share/doc/perl-CPS/README
/usr/share/doc/perl-CPS/examples
/usr/share/doc/perl-CPS/examples/kforeach.pl
/usr/share/licenses/perl-CPS
/usr/share/licenses/perl-CPS/LICENSE
/usr/share/man/man3/CPS.3pm.gz
/usr/share/man/man3/CPS::Functional.3pm.gz
/usr/share/man/man3/CPS::Governor.3pm.gz
/usr/share/man/man3/CPS::Governor::Deferred.3pm.gz
/usr/share/man/man3/CPS::Governor::Simple.3pm.gz
/usr/share/perl5/vendor_perl/CPS
/usr/share/perl5/vendor_perl/CPS.pm
/usr/share/perl5/vendor_perl/CPS/Functional.pm
/usr/share/perl5/vendor_perl/CPS/Governor
/usr/share/perl5/vendor_perl/CPS/Governor.pm
/usr/share/perl5/vendor_perl/CPS/Governor/Deferred.pm
/usr/share/perl5/vendor_perl/CPS/Governor/Simple.pm

References

Summary

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