openbsd-ports/devel/p5-File-chdir/pkg/DESCR
kevlo 268df17975 Initial import of File-chdir 0.06
File::chdir gives you an alternative, $CWD and @CWD.
2005-09-26 02:50:23 +00:00

8 lines
354 B
Plaintext

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.
File::chdir gives you an alternative, $CWD and @CWD. These two
variables combine all the power of chdir(), File::Spec and Cwd.