A more sensible way to change directories
44.25 KB
built 2026-10-16 19:35:31 GMT
Description
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 is not good.
File::chdir gives you an alternative, $CWD and @CWD. These two variables
combine all the power of chdir(), File::Spec and Cwd.
Dependencies
18 totalRequires17
- coreutils
- make
- perl(CPAN::Meta) >= 2.120900
- perl(Carp)
- perl(Cwd) >= 3.16
- perl(Exporter)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(File::Spec)
- perl(File::Spec::Functions) >= 3.27
- perl(Test::More)
- perl(strict)
- perl(vars)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-File-chdir = 0.1011-30.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| File-chdir-0.1011.tar.gz | 24.54 KB |
| perl-File-chdir.spec | 9.11 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
