projects
/
p5sagit/strictures.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix test for t/xt/lib/blib to only trigger on directories
[p5sagit/strictures.git]
/
lib
/
strictures.pm
diff --git
a/lib/strictures.pm
b/lib/strictures.pm
index
46ee821
..
05d7d9f
100644
(file)
--- a/
lib/strictures.pm
+++ b/
lib/strictures.pm
@@
-40,7
+40,7
@@
sub import {
}
$ENV{PERL_STRICTURES_EXTRA};
} elsif (! _PERL_LT_5_8_4) {
- !!((caller)[1] =~ /^(?:t|xt|lib|blib)/
+ !!((caller)[1] =~ /^(?:t|xt|lib|blib)[\\\/]/
and $Smells_Like_VCS)
}
};