Subject: | prereq_matches_use should ignore statements in strings and __DATA__ sections |
Code in strings and data sections, which are used to create code to be used elsewhere, should not be scanned for 'use' statements, as they do not apply in this context.
examples:
http://cpants.cpanauthors.org/dist/Dist-Zilla-Plugin-MakeMaker-Awesome/errors
https://metacpan.org/source/ETHER/Dist-Zilla-Plugin-MakeMaker-Awesome-0.16/lib/Dist/Zilla/Plugin/MakeMaker/Awesome.pm#L235
http://cpants.cpanauthors.org/dist/Dist-Zilla-Plugin-Test-CheckDeps/errors
https://metacpan.org/source/ETHER/Dist-Zilla-Plugin-Test-CheckDeps-0.008/lib/Dist/Zilla/Plugin/Test/CheckDeps.pm#L126