X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Fstrictures.git;a=blobdiff_plain;f=lib%2Fstrictures.pm;h=4bad9109497aa0da5336801be9f9aeee8fc46fe3;hp=b7e96e1e27ac04657c6de9bc67f2d5a9027bbecb;hb=5b2a026b524da714c056d0e69022cfa9a2df468f;hpb=4d275401e4f8e9f712988d8f9912238dd30b62c1 diff --git a/lib/strictures.pm b/lib/strictures.pm index b7e96e1..4bad910 100644 --- a/lib/strictures.pm +++ b/lib/strictures.pm @@ -107,7 +107,7 @@ is equivalent to except when called from a file which matches: - (caller)[1] =~ /^(?:t|xt|lib|blib)/ + (caller)[1] =~ /^(?:t|xt|lib|blib)[\\\/]/ and when either C<.git>, C<.svn>, or C<.hg> is present in the current directory (with the intention of only forcing extra tests on the author side) -- or when C<.git>,