Subject: | Some recent change breaks handling of .pm files under t/ dirs |
I think I can demonstrate this minimally:
```
[caemlyn:~] mkdir t
[caemlyn:~] echo 'use Test::Warnings;' > t/T.pm
[caemlyn:~] scan-perl-prereqs-nqlite --version
scan-perl-prereqs-nqlite v0.93
[caemlyn:~] scan-perl-prereqs-nqlite t/T.pm
Test::Warnings
```
vs
```
vagrant@ce-dev-sandbox:~$ mkdir t
vagrant@ce-dev-sandbox:~$ echo 'use Test::Warnings;' > t/T.pm
vagrant@ce-dev-sandbox:~$ scan-perl-prereqs-nqlite --version
scan-perl-prereqs-nqlite v0.96
vagrant@ce-dev-sandbox:~$ scan-perl-prereqs-nqlite t/T.pm
```
I'm not entirely sure, but at a guess this is caused by the addition of the codeblock that starts with the comment "add test requirements by .pm files used in .t files" (in Perl::PrereqScanner::NotQuiteLite::App). I could take a crack at finding the fix, but I was betting you'd have a better idea where the problem lies, given the code is less than a month old. :-)
Let me know if you need any further info. And thx so much for this module! Outside of this minor issue, this is hands-down the best dependency scanner on CPAN.