diff options
Diffstat (limited to 'installman')
-rwxr-xr-x | installman | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/installman b/installman index cf5c45d3a7..c9fb0fe18c 100755 --- a/installman +++ b/installman @@ -12,9 +12,9 @@ require Cwd; $ENV{SHELL} = 'sh' if $^O eq 'os2'; -$ver = $]; -$release = substr($ver,0,3); # Not used presently. -$patchlevel = substr($ver,3,2); +$ver = $Config{version}; +$release = substr($],0,3); # Not used presently. +$patchlevel = substr($],3,2); die "Patchlevel of perl ($patchlevel)", "and patchlevel of config.sh ($Config{'PERL_VERSION'}) don't match\n" if $patchlevel != $Config{'PERL_VERSION'}; |