icon

A more sensible way to change directories (source files)

file_chdir_source-0.1011-2-source

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

Name
file_chdir_source
Repository
HaikuPorts
Repository Source
haikuports_x86_64
Version
0.1011-2
Download Size
23.6 KB
Source available
No
Categories
None
Version Views
0