summaryrefslogtreecommitdiff
path: root/installman
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-09 22:27:19 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-09 22:27:19 +0000
commit273cf8d1f309172b4416e78e4a8e80c12d941254 (patch)
tree641986755e0e9fcd423ac9000b67cb3688ec8cec /installman
parent97404f98a6349e3129d8b12b25786316a12e66dc (diff)
downloadperl-273cf8d1f309172b4416e78e4a8e80c12d941254.tar.gz
more changes for new-style version numbers (versions numbers on
the filesystem look like 5.5.640, except on DOS-DJGPP and VMS where they look like 5_5_640; delete @Config{pm_apiversion,xs_apiversion}; split $Config{apiversion} into three, @Config{apirevision,apiversion, apisubversion} for CPP friendliness; $Config{sitelib} now defaults to .../site_perl/$version, just like $Config{privlib}, making sitelib completely independent across versions and substantially eliminating chances of breaking older installations by overwriting newly built extensions; all this means compatibility inclusions for @INC will need to take into account older sitelib versions (this still TODO) windows, vms, dos tweaks for the above p4raw-id: //depot/perl@4773
Diffstat (limited to 'installman')
-rwxr-xr-xinstallman6
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'};