You are right, I was too careful here. The written contract (the File::Find documentation) explicitly states:
The above variables [$File::Find::dir, $File::Find::name, and $_] have all been localized and may be changed without effecting data outside of the wanted function.
Alexander
In reply to Re^3: How to make code smaller--saving steps and writing one liners
by afoken
in thread How to make code smaller--saving steps and writing one liners
by Petras
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |