1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Source: libfile-chdir-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: James Bromberger <jeb@debian.org>,
Andreas Tille <tille@debian.org>
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.
|