I am amazed at this difference of 3100 modules. How many modules do you have installed in total? I personally have less than a thousand in total. And I don't really want more, I am working on several dozens environments, many of which it is difficult or impossible to obtain module installation, so I am using non standard modules only on environments where I can control what is going on.

Just one question that I am really interested in knowing, do you get the module count right (or much closer) with the following syntax trying to use recursive traversing of dirs:

I must say that this is probably the first time that I am using recursion in a Perl one-liner, but why not after all, even if I must confess this is getting a bit hairy for a one-liner. Well, this is a quick 10-min try, it seems to work, but there maybe some mistakes.

Alright, my search function was not really recursing because I forgot to put parens around the arguments passed to it. Also, looking for the "*.p*" pattern eliminated the subdirectories from the search.