How To Install perl-PadWalker on CentOS 7

In this tutorial we learn how to install perl-PadWalker on CentOS 7. perl-PadWalker is Play with other peoples’ lexical variables

Introduction

In this tutorial we learn how to install perl-PadWalker on CentOS 7.

What is perl-PadWalker

PadWalker is a module which allows you to inspect (and even change!) lexical variables in any subroutine which called you. It will only show those variables which are in scope at the point of the call.

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

Install perl-PadWalker on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-PadWalker using yum by running the following command:

sudo yum -y install perl-PadWalker

Install perl-PadWalker on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-PadWalker using dnf by running the following command:

sudo dnf -y install perl-PadWalker

How To Uninstall perl-PadWalker on CentOS 7

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

sudo dnf remove perl-PadWalker

References

Summary

In this tutorial we learn how to install perl-PadWalker on CentOS 7 using yum and dnf.