a 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()', the File::Spec manpage and
the Cwd manpage.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:rguenther:plgrnd/perl-File-chdir && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
File-chdir-0.1004.tar.bz2 | 0000031919 31.2 KB | |
perl-File-chdir.changes | 0000000175 175 Bytes | |
perl-File-chdir.spec | 0000002299 2.25 KB |
Revision 1 (latest revision is 12)
Sascha Peilicke (saschpe)
accepted
request 66722
from
Stephan Kulow (coolo)
(revision 1)
Accepted submit request 66722 from user babelworx
Comments 0