NAME

Perl::PrereqScanner::Scanner::Mojo - Scan for modules loaded with Mojo::Base

VERSION

version 0.3.0

SYNOPSIS

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);

DESCRIPTION

This scanner will look for dependencies from the Mojo::Base module:

use Mojo::Base 'SomeBaseClass';

AUTHOR

Adriano Ferreira <ferreira@cpan.org>

COPYRIGHT AND LICENSE

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.