http://www.perlmonks.org?node_id=726025


in reply to Re: Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?
in thread Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?

Thanks - that makes a lot of sense. I hadn't considered that changing directory to root or elsewhere is harmless since it doesn't outlast the routine.