in reply to Comparing files in directory
This is obviously an excerpt from a longer script. So I understand correctly that you inherited this script from somewhere and are trying to make it work?
None of the several listed modules have a findfiles function, in fact with a quick search I can't seem to find any CPAN module that defines a function named that. That means the findfiles function must be custom and defined somewhere else in the script, or in a custom library that goes along with the script.
You should search for the string "findfiles" in all of the files that are part of this script and see where it is defined. Either you've inherited an incomplete set of files, or the module that provides findfiles isn't getting loaded into the script for some reason. But if that's the case, we'll need to know more about the layout of the files and how they load each other to help you better.
|
|---|