in reply to
Re: Listing all files with same filename
in thread Listing all files with same filename
I'm not implying that asking for help on homework is wrong. . .
I don't think anyone is opposed to giving you direction (and you've gotten some already: use File::Find) IF you've shown that you've put in the effort. This usually means showing some code you've written in an attempt to solve the problem.
What have you tried? Googling for "File::Find tutorial" turned up several promising links.
-Any sufficiently advanced technology is
indistinguishable from doubletalk.