Subject: | Noise from dbiprof.PL installation |
The DBI Makefile will run a syntax check after extracting dbiprof from
dbiprof.PL:
# syntax check resulting file, but only for developers
exit 1 if system($^X, '-wc', '-Mblib', $file) != 0 && -d ".svn";
Checking for the .svn subdirectory prevents dbiprof.PL from returning an
error status code, but the noise of missing/mismatched DBI versions is
still printed to STDERR.
Therefore I would prefer if the check wouldn't be run at all unless .svn
exists:
# syntax check resulting file, but only for developers
if (-d ".svn") {
exit 1 if system($^X, '-wc', '-Mblib', $file) != 0;
}