On Tue, Nov 11, 2008 at 5:02 PM, Evan Harrell <[EMAIL PROTECTED]> wrote: > My goal is to find all of the non-standard perl modules (.pm files) that are > dependencies of a given .pl script. Also, some of these .pm files will have > other interdepencies that the .pl might not have, so the detection needs to > be recursive, and check to make sure all of the proper .pm files are > detected and included once. I want to extract the filenames from the hash > that scan_deps returns, but when I look at this hash it has many, many files > that I don't need to see (.pl files, .al files, .so files, etc). Is there a > simple way to only scan for .pm files that are non-standard perl libraries > recursively?
What's simpler than to filter the comprehensive list returned by scan_deps? Cheers, Roderich
