From: Perl 5 Porters Date: Wed, 10 Jul 1996 00:27:38 +0000 (+0000) Subject: perl 5.003_01: lib/splain X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a1a169ff2a0027dfb0c2072045bcaf3258149b1;p=p5sagit%2Fp5-mst-13.2.git perl 5.003_01: lib/splain Use ~-expanded version of privlib Add VMS support --- diff --git a/lib/splain b/lib/splain index f40c51e..f20b956 100755 --- a/lib/splain +++ b/lib/splain @@ -3,7 +3,11 @@ eval 'exec perl -S $0 ${1+"$@"}' if 0; use Config; -$diagnostics::PODFILE= $Config{privlib} . "/pod/perldiag.pod"; +if ($^O eq 'VMS') { + $diagnostics::PODFILE = VMS::Filespec::unixify($Config{'privlibexp'}) . + '/pod/perldiag.pod'; +} +else { $diagnostics::PODFILE= $Config{privlibexp} . "/pod/perldiag.pod"; } package diagnostics; require 5.001;