This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
porting/diag.t: Add comments
[perl5.git] / installperl
index 04b3786..5acc06a 100755 (executable)
@@ -1,12 +1,12 @@
 #!./perl -w
 
 BEGIN {
-    require 5.004;
     chdir '..' if !-d 'lib' and -d '../lib';
     @INC = 'lib';
     $ENV{PERL5LIB} = 'lib';
 
     # This needs to be at BEGIN time, before any use of Config
+    # install_lib itself loads and imports Config into main::
     require './install_lib.pl';
 }
 
@@ -134,7 +134,6 @@ if ($scr_ext) { @scripts = map { "$_$scr_ext" } @scripts; }
 my %archpms = (
     Config => 1,
     lib => 1,
-    Cwd => 1,
 );
 
 if ($^O eq 'dos') {