RSS | Module Info | Add a review of File-chdir
File-chdir
(0.1004)
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.
Steven Haryanto - 2010-08-25T11:04:01 (permalink)
1 out of 1 found this review helpful.
Was this review helpful to you?
Yes
No
File-chdir
(0.1004)
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.
نديم الخمير - 2010-06-10T01:35:01 (permalink)
2 out of 2 found this review helpful.
Was this review helpful to you?
Yes
No

