projects
/
p5sagit/strictures.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
754bf3a
)
fix test for t/xt/lib/blib to only trigger on directories
Graham Knop [Mon, 26 Jan 2015 23:02:26 +0000 (18:02 -0500)]
lib/strictures.pm
patch
|
blob
|
blame
|
history
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)
}
};