From 4330eab40f42aa09f2e8393c07c7d3b0b020c040 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Sun, 6 Jan 2013 16:27:50 -0600 Subject: [PATCH] Make Pod::Html::_unixify unescape dots on VMS. Dots in directory names must be escaped in native syntax, but those escapes confuse various things if left in during a conversion to Unix syntax. --- ext/Pod-Html/lib/Pod/Html.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm index c789522..5b4c51c 100644 --- a/ext/Pod-Html/lib/Pod/Html.pm +++ b/ext/Pod-Html/lib/Pod/Html.pm @@ -3,7 +3,7 @@ use strict; require Exporter; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK); -$VERSION = 1.16; +$VERSION = 1.17; @ISA = qw(Exporter); @EXPORT = qw(pod2html htmlify); @EXPORT_OK = qw(anchorify); @@ -696,6 +696,7 @@ sub _unixify { $full_path = File::Spec::Unix->catfile(File::Spec::Unix->catdir(@dirs), $file); $full_path =~ s|^\/|| if $^O eq 'MSWin32'; # C:/foo works, /C:/foo doesn't + $full_path =~ s/\^\././g if $^O eq 'VMS'; # unescape dots return $full_path; } -- 2.7.4