remove unix-style directory separator from regex (DOH!)
[p5sagit/local-lib.git] / t / taint-mode.t
index ae73f7f..3f6565e 100644 (file)
@@ -32,7 +32,7 @@ use local::lib '$dir1';
 warn "using lib dir $dir1\\n";
 my \$quoted_dir = quotemeta('$dir1');
 warn "dir is $dir1, quoted is \$quoted_dir\\n";
-if (grep { m{^\$quoted_dir/} } \@INC) {
+if (grep { m{^\$quoted_dir} } \@INC) {
   exit 0;
 }
 warn '\@INC is: ', join("\\n", \@INC), "\\n";