summaryrefslogtreecommitdiff
path: root/lib/diagnostics.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-10 01:18:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-10 01:18:04 +0000
commit0ff3fa1a9e904b2e8741c50731fed324d1b1afb7 (patch)
treea6b7d678741aad5d41e5eb388c08592e8c389318 /lib/diagnostics.pm
parent4ff843088efaf20f33954a488d457e0ee0278019 (diff)
downloadperl-0ff3fa1a9e904b2e8741c50731fed324d1b1afb7.tar.gz
use $Config{version} rather than $] where appropriate
p4raw-id: //depot/perl@4777
Diffstat (limited to 'lib/diagnostics.pm')
-rwxr-xr-xlib/diagnostics.pm4
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