I think that's perfectly fine attitude for a subroutine; to have as few side effects as possible.
In reply to Re: Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?
by JavaFan
in thread Why does File::Find try to chdir to $PWD (and fail) even if $PWD is not itself in search list?
by puterboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |