in reply to FindFiles error in condition
Your code is working great for me once I changed the directory to my home dir. Perhaps "/home/testing" is not where you really want to look?
Two suggestions:
non-Perl: Andy Ford