Subject: | explicit prereq skip |
Date: | Tue, 3 Apr 2012 13:27:41 -0500 |
To: | bugs-perl-prereqscanner [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
for author/release tests int dzil it would be nice to be able to do
use Test::Foo; however prereqscanner automatically detects these and
adds them as test requirements. Since they are only run by authors
they shouldn't be added as such. perhaps we could add a syntax to
alert prereqscanner to ignore dep X
maybe we could have one of the following in the file...
# PREREQ_SKIP: Test::EOL
[13:16] <doy> use # hide from Perl::PrereqScanner\n Test::EOL; might
be more familiar to people, as a parallel to how you hide package
declarations from pause
I'm indifferent to syntax, but it'd be nice to have a solution. The
problem is that it's easy to skip these explicitly when you're adding
them, but there's no way to make the plugins tell people who might not
be thinking that /reading documentation that they're adding them
--
Caleb Cushing
http://xenoterracide.com