2 # Finds the files that have the same name, case insensitively,
3 # in the current directory and its subdirectories
20 my $name = $File::Find::name;
21 # Assumes that the path separator is exactly one character.
23 push @{$files{lc $name}}, $name;
28 foreach (values %files) {
30 print "not ok ".++$test_count. " - ". join(", ", @$_), "\n";
32 print "ok ".++$test_count. " - ". join(", ", @$_), "\n";
36 print "1..".$test_count."\n";