| 1 | Source: libfile-chdir-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: James Bromberger <[email protected]>, |
| 4 | Andreas Tille <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13) |
| 9 | Build-Depends-Indep: perl |
| 10 | Standards-Version: 4.7.2 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-chdir-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-chdir-perl.git |
| 13 | Homepage: https://metacpan.org/release/File-chdir |
| 14 | |
| 15 | Package: libfile-chdir-perl |
| 16 | Architecture: all |
| 17 | Depends: ${perl:Depends}, |
| 18 | ${misc:Depends} |
| 19 | Description: more sensible way to change directories |
| 20 | Perl's chdir() has the unfortunate problem of being very, very, very |
| 21 | global. If any part of your program calls chdir() or if any library you |
| 22 | use calls chdir(), it changes the current working directory for the |
| 23 | whole program. |
| 24 | . |
| 25 | This sucks. |
| 26 | . |
| 27 | File::chdir gives you an alternative, $CWD and @CWD. These two variables |
| 28 | combine all the power of chdir(), File::Spec and Cwd. |