2 # Finds the files that have the same name, case insensitively,
3 # in the current directory and its subdirectories
11 my $name = $File::Find::name;
12 # Assumes that the path separator is exactly one character.
14 push @{$files{lc $name}}, $name;
19 foreach (values %files) {
21 print join(", ", @$_), "\n";
26 print "no similarly named files found\n" unless $failed;