This is a handy little module, with a simple and nice interface. One of the more common bugs encountered in my scripts is forgetting to track the current working directory after doing chdir() in subroutines. By localizing $CWD, I don't have to worry that subroutines mess up current working directory anymore.
1 out of 1 found this review helpful. Was this review helpful to you? Yes No
I really dislike the API to File::Spec and I would have given a top rating to anything that resembles a way out of using it.
File-chdir API is more natural if you like side effects. In this case assigning a special variable to change directory.
Localization of the directory change is certainly the most powerful part.
2 out of 2 found this review helpful. Was this review helpful to you? Yes No