diff options
Diffstat (limited to 'lib/Pod/t')
-rw-r--r-- | lib/Pod/t/pod2html-lib.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Pod/t/pod2html-lib.pl b/lib/Pod/t/pod2html-lib.pl index f61392b0db..0361a0a7ee 100644 --- a/lib/Pod/t/pod2html-lib.pl +++ b/lib/Pod/t/pod2html-lib.pl @@ -55,8 +55,9 @@ sub convert_n_test { # pod2html creates these 1 while unlink $outfile; - 1 while unlink "pod2htmd.x~~"; - 1 while unlink "pod2htmi.x~~"; + my $cache_ext = $^O eq 'VMS' ? ".tmp" : ".x~~"; + 1 while unlink "pod2htmd$cache_ext"; + 1 while unlink "pod2htmi$cache_ext"; } 1; |