diff options
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-x | lib/diagnostics.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index f40c51e030..2c55430ff6 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -3,7 +3,11 @@ eval 'exec perl -S $0 ${1+"$@"}' if 0; use Config; -$diagnostics::PODFILE= $Config{privlib} . "/pod/perldiag.pod"; +if ($Config{'osname'} eq 'VMS') { + $diagnostics::PODFILE = VMS::Filespec::unixify($Config{'privlib'} . + '/pod/perldiag.pod'; +} +else { $diagnostics::PODFILE= $Config{privlib} . "/pod/perldiag.pod"; } package diagnostics; require 5.001; |