The Perl::PrereqScanner scanner will extract loosely your distribution prerequisites from your files. WWW: https://metacpan.org/release/Perl-PrereqScanner