Sorry. I snipped your snippet in haste.
Change
$name to
$File::Find::name. As for the warning, this is
one of those times when the warning is a warning, but not really doing anything
wrong. That's why I don't code "warning-free" occasionally.
-- Randal L. Schwartz, Perl hacker