This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add a missing 5 to the release announcement template
[perl5.git] / configpm
index 250f5ce..d3983f7 100755 (executable)
--- a/configpm
+++ b/configpm
@@ -228,7 +228,7 @@ EOT
 
 my %export_ok = eval $export_funcs or die;
 
-$config_txt .= sprintf << 'EOT', $export_funcs;
+$config_txt .= sprintf << 'EOT', $], $export_funcs;
 # This file was created by configpm when Perl was built. Any changes
 # made to this file will be lost the next time perl is built.
 
@@ -239,7 +239,9 @@ $config_txt .= sprintf << 'EOT', $export_funcs;
 package Config;
 use strict;
 use warnings;
-use vars '%%Config';
+use vars '%%Config', '$VERSION';
+
+$VERSION = "%s";
 
 # Skip @Config::EXPORT because it only contains %%Config, which we special
 # case below as it's not a function. @Config::EXPORT won't change in the
@@ -1135,10 +1137,7 @@ EOS
 unshift(@INC,'lib');
 unshift(@INC,'xlib/symbian') if $Opts{cross};
 require $Config_PM;
-    if (!eval {require $Config_heavy}) {
-       open my $fh, "<", $Config_heavy;
-        print STDERR while <$fh>;
-    }
+require $Config_heavy;
 import Config;
 
 die "$0: $Config_PM not valid"