How to Install and Uninstall libfile-chdir-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "libfile-chdir-perl" package

Please follow the step by step instructions below to install libfile-chdir-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libfile-chdir-perl

2. Uninstall "libfile-chdir-perl" package

Please follow the guidelines below to uninstall libfile-chdir-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libfile-chdir-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libfile-chdir-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libfile-chdir-perl
Architecture: all
Version: 0.1008-1.1
Priority: optional
Section: perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: James Bromberger
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: perl:any
Filename: pool/main/libf/libfile-chdir-perl/libfile-chdir-perl_0.1008-1.1_all.deb
Size: 10552
MD5sum: 1c44213d1cc046f4274450e34bf4205e
SHA1: 451b8894bf4b908c2cca7de929ca2b3d09d66980
SHA256: 6534d82b487421c83a8e84e82ddec3137b7a5637d7988f7999c1ad1029ba4f35
SHA512: b7c7011e6a0165d66a4197c83bc48474e3f75b095d52bfc6f581898599b8fd6890cf75ba8c318b45d7e284c35e27e6bbe080fb8c310cc3deb698d71a4e472d14
Description-en: 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.
Description-md5: 29bd9687e45b745a44f092e47510afff