Subject: | calculate_info is broken (Bad index while coercing array into hash at C:/Perl/site/lib/Module/ScanDeps.pm line 474.) |
# This example taken adapted from your POD
# you don't test this intefrace in your test
# YOU SHOULD TEST EVERYTHING
use Module::ScanDeps;
my $scan = Module::ScanDeps->new;
$scan->set_file( $INC{'Module/ScanDeps.pm'} );
$scan->set_options( add_modules => [ 'Test::More' ] );
$scan->calculate_info;
my $files = $scan->get_files;
use Data::Dumper;
die Dumper $files;
__END__
Bad index while coercing array into hash at C:/Perl/site/lib/Module/ScanDeps.pm line 474.