How to Install libfile-chdir-perl in Ubuntu 18.04



Install libfile-chdir-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libfile-chdir-perl

Description:

more sensible way to change directories

Perl's chdir() has the unfortunate problem of being very, very, very global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the whole program. . This sucks. . File::chdir gives you an alternative, $CWD and @CWD. These two variables combine all the power of chdir(), File::Spec and Cwd.

Version: 0.1008-1

Section: perl