Test::Requires::Scanner - retrieve modules specified by Test::Requires
use Test::Requires::Scanner;
my $modules2version_hashref = Test::Requires::Scanner->scan_files('t/hoge.t', 't/fuga.t');
App::TestRequires::Scanner is to retrieve modules specified by Test::Requires in test files. It is useful for CPAN module maintainer.
-
$hashref = Test::Requires::Scanner->scan_string($str)
-
$hashref = Test::Requires::Scanner->scan_file($file)
-
$hashref = Test::Requires::Scanner->scan_files(@files)
A key of
$hashref
is module name and a value is version.
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Songmu y.songmu@gmail.com