File-chdir reviews

cpanratings
 

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.

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.