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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.3/perl-File-chdir && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
File-chdir-0.1010.tar.gz | 0000024761 24.2 KB | |
perl-File-chdir.changes | 0000001226 1.2 KB | |
perl-File-chdir.spec | 0000002181 2.13 KB |
Revision 4 (latest revision is 5)
Ludwig Nussel (lnussel_factory)
committed
(revision 4)
branch from 42.2
Comments 0