summaryrefslogtreecommitdiff
path: root/installperl
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>1998-07-12 18:27:21 +0200
committerGurusamy Sarathy <gsar@cpan.org>1998-07-12 21:54:02 +0000
commita29d2910a363e5b308f0e74eda4c093080b7afbd (patch)
treeed924856910a22bddd0e0cc2f6833be5ac183600 /installperl
parentf16f1ef3ec3c8c58712148883eca0ebdbd810185 (diff)
downloadperl-a29d2910a363e5b308f0e74eda4c093080b7afbd.tar.gz
applied installperl patch, corrected other little nits
Message-ID: <sfcn2afrvp2.fsf@dubravka.in-berlin.de> Subject: [5.004_72] installperl tweak p4raw-id: //depot/perl@1455
Diffstat (limited to 'installperl')
-rwxr-xr-xinstallperl9
1 files changed, 6 insertions, 3 deletions
diff --git a/installperl b/installperl
index ef310c9189..8bb8d1439c 100755
--- a/installperl
+++ b/installperl
@@ -1,13 +1,16 @@
#!./perl
-use strict;
-use vars qw($Is_VMS $Is_W32 $Is_OS2 $nonono $versiononly $depth);
-
BEGIN {
require 5.004;
chdir '..' if !-d 'lib' and -d '..\lib';
@INC = 'lib';
$ENV{PERL5LIB} = 'lib';
+}
+
+use strict;
+use vars qw($Is_VMS $Is_W32 $Is_OS2 $nonono $versiononly $depth);
+
+BEGIN {
$Is_VMS = $^O eq 'VMS';
$Is_W32 = $^O eq 'MSWin32';
$Is_OS2 = $^O eq 'os2';