Package perl-Perl-Metrics-Simple

Count packages, subs, lines, etc. of many files

http://search.cpan.org/dist/Perl-Metrics-Simple/

Perl::Metrics::Simple provides just enough methods to run static analysis
of one or many Perl files and obtain a few metrics: packages, subroutines,
lines of code, and an approximation of cyclomatic (McCabe) complexity for
the subroutines and the "main" portion of the code.

General Commands
Command Description
countperl count lines, packages, subs and complexity of Perl files.