Source: libfile-chdir-perl Maintainer: Debian Perl Group Uploaders: James Bromberger , Andreas Tille Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 13) Build-Depends-Indep: perl Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-chdir-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-chdir-perl.git Homepage: https://metacpan.org/release/File-chdir Package: libfile-chdir-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} 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.