in reply to CPAN modules for inspecting a Perl distribution?

Module::Metadata can find some metadata about modules in a similar manner to PAUSE, and package_versions_from_directory can be used to find what it provides in a similar way. Finding functions and methods on the other hand depends on what you want to look for: 1. functions that have been defined at runtime, which would be discovered by loading the module and searching its stash for CODE entries which you could use Package::Stash for, or 2. functions that are visibly defined in the file, found by statically parsing the code using something like PPI.
  • Comment on Re: CPAN modules for inspecting a Perl distribution?