projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4957ffd
)
avoid interpolation of backslashed chars in windows paths
Karen Etheridge [Sat, 14 Sep 2013 16:48:45 +0000 (09:48 -0700)]
Changes
patch
|
blob
|
blame
|
history
t/taint-mode.t
patch
|
blob
|
blame
|
history
diff --git
a/Changes
b/Changes
index
3fe569e
..
2b4ebf4
100644
(file)
--- a/
Changes
+++ b/
Changes
@@
-1,5
+1,8
@@
Revision history for local::lib
+ - avoid "Unrecognized escape \s passed through" errors on win32
+ (again)
+
1.008016 2013-09-13
- avoid "Unrecognized escape \s passed through" errors on win32
diff --git
a/t/taint-mode.t
b/t/taint-mode.t
index
cc7233c
..
d4f773a
100644
(file)
--- a/
t/taint-mode.t
+++ b/
t/taint-mode.t
@@
-26,7
+26,7
@@
print $fh <<EOM;
#!/usr/bin/perl -T
use strict; use warnings;
use local::lib '$dir1';
-my \$dir1 = "$dir1";
+my \$dir1 = '$dir1';
if (grep { m{^\\Q\$dir1\\E/} } \@INC) {
exit 0;
}