[ 源代码: libfile-chdir-perl ]
软件包:libfile-chdir-perl(0.1008-1.2)
libfile-chdir-perl 的相关链接
Debian 的资源:
下载源码包 libfile-chdir-perl:
- [libfile-chdir-perl_0.1008-1.2.dsc]
- [libfile-chdir-perl_0.1008.orig.tar.gz]
- [libfile-chdir-perl_0.1008-1.2.debian.tar.xz]
维护者:
相似软件包:
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.