Do you know where your variables are? | |
PerlMonks |
Re: Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?by JavaFan (Canon) |
on Nov 24, 2008 at 17:09 UTC ( [id://725645]=note: print w/replies, xml ) | Need Help?? |
Seems to me that File::Find just wants to restore the current working directory. That is, after finishing the search, it current working directory should be the same as it was when the search started.
I think that's perfectly fine attitude for a subroutine; to have as few side effects as possible.
In Section
Seekers of Perl Wisdom
|
|