in reply to CPAN modules for inspecting a Perl distribution?

I think this will do approximately what you want (from a linuxy command line): find . -type f -iname '*.pm' -exec egrep -iH '^\s*sub' {} \;. Not 100% effective, but it would be a pretty good first-level approximation (assuming it's not an XS distro)

Replies are listed 'Best First'.
Re^2: CPAN modules for inspecting a Perl distribution?
by nysus (Parson) on Oct 12, 2018 at 20:44 UTC

    Thanks. But I'm looking for something that would provide some kind of standard report of the distribution's contents. Something that could help point me at a glance to what the major modules were, which modules had the most functions/lines, etc. instead of just peeking inside random files for 10 min.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks