Permalink
Browse files

pods2html tests fail on Windows due to path interpolation into regex …

…pattern

Use quotemeta to prevent misinterpration of path string by regex engine.
  • Loading branch information...
nanis committed Mar 10, 2016
1 parent 92d2aec commit 3969622b626e9fa892b88177ede11c4fb2366df2
Showing with 1 addition and 1 deletion.
  1. +1 −1 pods2html
View
@@ -99,7 +99,7 @@ sub Translate_POD {
my $depth = Depth($source);
my $pod = $source;
$pod =~ s(^$PodDir/)();
$pod =~ s(^\Q$PodDir\E/)();
$pod =~ s( \.\w+$ )()x;
$Index{$pod} = 1;

0 comments on commit 3969622

Please sign in to comment.