for my $location1 (@{$files{$file}}) { print "\t$location1\n"; for my $location2 (@{$files{$file}}) { unless ($location1 eq $location2) {
Why are you looping over the full path twice and comparing them? The only way you could get duplicate entries is if your file system is serverely broken or if you have the exact same file in both variables.
In reply to Re: Find duplicate files with exact same files noted
by jwkrahn
in thread Find duplicate files with exact same files noted
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |