in reply to Re^3: Find a list of numbered files with same basename
in thread Find a list of numbered files with same basename

we need to know how you are calling find_files and your dir structure to see what's going wrong. What's the output from the 'print "$file\n"' line?
  • Comment on Re^4: Find a list of numbered files with same basename