libfile-chdir-perl - more sensible way to change directories

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libfile-chdir-perl
Package version 0.1008
Package release 1
Package architecture all
Package type deb
Installed size 59 B
Download size 13.02 KB
Official Mirror
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.


Package Version Architecture Repository
libfile-chdir-perl_0.1008-1_all.deb 0.1008 all Debian Main
libfile-chdir-perl - - -


Name Value
perl -


Type URL
Binary Package libfile-chdir-perl_0.1008-1_all.deb
Source Package libfile-chdir-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libfile-chdir-perl deb package:
    # sudo apt-get install libfile-chdir-perl




2013-11-01 - James Bromberger <>
libfile-chdir-perl (0.1008-1) unstable; urgency=low
* New upstream release
* Update watch file to version 3; stricter regex
* Update debian/compat to 9.
* Update copyright file (remove boilerplate)
* Update debian/rules to recommended targets for build-arch/indep
* Update standards version to 3.9.5 (no changes)
2011-11-24 - James Bromberger <>
libfile-chdir-perl (0.1006-1) unstable; urgency=low
* New upstream release
2010-05-08 - Ivan Kohler <>
libfile-chdir-perl (0.1003-0.1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release (closes: Bug#579187)
2008-04-06 - Stephen Gran <>
libfile-chdir-perl (0.06-2.1) unstable; urgency=low
* Non-maintainer upload.
* Empty dir is gone (closes: #467782)
2006-12-20 - James Bromberger <>
libfile-chdir-perl (0.06-2) unstable; urgency=low
* Updated standards version to 3.7.2 (no changes required, just 
bumping to remove Lintian warning).
2004-06-22 - James Bromberger <>
libfile-chdir-perl (0.06-1) unstable; urgency=low
* Initial Release.

See Also

Package Description
libfile-checktree-perl_4.42-1_all.deb module for running many filetest checks on a tree
libfile-chmod-perl_0.40-1_all.deb chmod() override with symbolic and ls-style modes
libfile-configdir-perl_0.013-1_all.deb get directories of configuration files
libfile-copy-link-perl_0.140-1_all.deb Perl extension for replacing a link by a copy of the linked file
libfile-copy-recursive-perl_0.38-1_all.deb Perl extension for recursively copying files and directories
libfile-counterfile-perl_1.04-5_all.deb persistent counter class for Perl
libfile-countlines-perl_0.0.3-1_all.deb module for efficiently counting the number of lines in a file
libfile-data-perl_1.16-3_all.deb interface to file data
libfile-desktopentry-perl_0.07-1_all.deb Perl module to handle freedesktop .desktop files
libfile-dircompare-perl_0.7-1_all.deb Perl module to compare two directories
libfile-extattr-perl_1.09-4+b1_amd64.deb Perl interface to file system extended attributes
libfile-fcntllock-perl_0.22-1+b1_amd64.deb Perl module for file locking with fcntl(2)
libfile-find-object-perl_0.2.9-1_all.deb object oriented File::Find replacement
libfile-find-object-rule-perl_0.0305-1_all.deb alternative interface to File::Find::Object
libfile-find-rule-perl-perl_1.13-1_all.deb Perl module for searching Perl things