summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-26 09:03:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-26 09:03:17 +0000
commit1f763251de9d15bd843d41adf21f5de7aa72b2ea (patch)
treef7bd043b26b7ee849b8012794d16e2811184b971 /lib
parentedcf81c065c289db870eda66eec01bdab2c57a10 (diff)
downloadperl-1f763251de9d15bd843d41adf21f5de7aa72b2ea.tar.gz
~ isn't valid in VMS filenames
p4raw-id: //depot/perl@3763
Diffstat (limited to 'lib')
-rw-r--r--lib/Pod/Html.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm
index 6077291225..6fb8dcab28 100644
--- a/lib/Pod/Html.pm
+++ b/lib/Pod/Html.pm
@@ -190,8 +190,9 @@ This program is distributed under the Artistic License.
=cut
-my $dircache = "pod2html.d~~";
-my $itemcache = "pod2html.i~~";
+my $cache_ext = $^O eq 'VMS' ? ".tmp" : ".x~~";
+my $dircache = "pod2htmd$cache_ext";
+my $itemcache = "pod2htmi$cache_ext";
my @begin_stack = (); # begin/end stack