Remove the commented line. It is causing every entry in %dirs. to always be equal to '2'.
sub dir_names { return unless -d; return unless /[IPD]\d{8}$/; # $dirs{$File::Find::name} = 1; ++$dirs{$File::Find::name}; }
In reply to Re: Using file::find to find dupe dirs
by boftx
in thread Using file::find to find dupe dirs
by RockE
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |