Thanks everyone for the input on this, especially Liam. File::Find did the trick. (As the application uses only a single-level directory, recursion, &c. wasn't an issue.)