|Think about Loose Coupling|
Re^2: File::Find in a loopby 2teez (Priest)
|on Apr 28, 2013 at 21:45 UTC||Need Help??|
No! I don't think so.
The File::Find documentation makes this clear saying thus:
wanted function takes no arguments but rather does its work through a collection of variables.
$File::Find::dir is the current directory name,
$_ is the current filename within that directory
$File::Find::name is the complete pathname to the file.
These variables have all been localized and may be changed without affecting data outside of the wanted function.