Perl::PrereqScanner::Scanner::Mojo - Scan for modules loaded with Mojo::Base
version 0.3.0
use Perl::PrereqScanner; my $scanner = Perl::PrereqScanner->new( { extra_scanners => ['Mojo'] } ); my $prereqs = $scanner->scan_ppi_document($ppi_doc); my $prereqs = $scanner->scan_file($file_path); my $prereqs = $scanner->scan_string($perl_code); my $prereqs = $scanner->scan_module($module_name);
This scanner will look for dependencies from the Mojo::Base module:
use Mojo::Base 'SomeBaseClass';
Adriano Ferreira <ferreira@cpan.org>
This software is copyright (c) 2017 by Adriano Ferreira.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perl::PrereqScanner::Scanner::Mojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::PrereqScanner::Scanner::Mojo
CPAN shell
perl -MCPAN -e shell install Perl::PrereqScanner::Scanner::Mojo
For more information on module installation, please visit the detailed CPAN module installation guide.