~ isn't valid in VMS filenames
Gurusamy Sarathy [Mon, 26 Jul 1999 09:03:17 +0000 (09:03 +0000)]
p4raw-id: //depot/perl@3763

lib/Pod/Html.pm

index 6077291..6fb8dca 100644 (file)
@@ -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