Perl::PrereqScannerA tool to scan your Perl code for its prerequisites | |
Download |
Perl::PrereqScanner Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Ricardo Signes
- Publisher web site:
- http://search.cpan.org/~rjbs/
Perl::PrereqScanner Tags
Perl::PrereqScanner Description
A tool to scan your Perl code for its prerequisites Perl::PrereqScanner is a Perl module that will extract loosely your distribution prerequisites from your files.The extraction may not be perfect but tries to do its best. It will currently find the following prereqs:- plain lines beginning with use or require in your perl modules and scripts, including minimum perl version- regular inheritance declared with the base and parent pragmata- Moose inheritance declared with the extends keyword- Moose roles included with the with keywordIt will trim the following pragamata: strict, warnings, and lib. base is trimmed unless a specific version is required. parent is kept, since it's only recently become a core library.SYNOPSIS use Perl::PrereqScanner; my $scanner = Perl::PrereqScanner->new; my $prereqs = $scanner->scan_ppi_document( $ppi_doc ); my $prereqs = $scanner->scan_file( $file_path ); my $prereqs = $scanner->scan_string( $perl_code ); Requirements: · Perl
Perl::PrereqScanner Related Software