diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 01:18:04 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-10 01:18:04 +0000 |
commit | 0ff3fa1a9e904b2e8741c50731fed324d1b1afb7 (patch) | |
tree | a6b7d678741aad5d41e5eb388c08592e8c389318 /lib/diagnostics.pm | |
parent | 4ff843088efaf20f33954a488d457e0ee0278019 (diff) | |
download | perl-0ff3fa1a9e904b2e8741c50731fed324d1b1afb7.tar.gz |
use $Config{version} rather than $] where appropriate
p4raw-id: //depot/perl@4777
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-x | lib/diagnostics.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diagnostics.pm b/lib/diagnostics.pm index 532505e5d1..e6a9127158 100755 --- a/lib/diagnostics.pm +++ b/lib/diagnostics.pm @@ -181,10 +181,10 @@ if ($^O eq 'VMS') { } @trypod = ( "$archlib/pod/perldiag.pod", - "$privlib/pod/perldiag-$].pod", + "$privlib/pod/perldiag-$Config{version}.pod", "$privlib/pod/perldiag.pod", "$archlib/pods/perldiag.pod", - "$privlib/pods/perldiag-$].pod", + "$privlib/pods/perldiag-$Config{version}.pod", "$privlib/pods/perldiag.pod", ); # handy for development testing of new warnings etc |