summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2013-02-13 21:09:45 -0500
committerDavid Golden <dagolden@cpan.org>2013-02-13 21:14:23 -0500
commitc7a7bc4d893b49c02fd57bcedcf8c119538c6120 (patch)
treead7279c161d71888b9d9b1660e3860a4a645e14b /configpm
parentde19dead5ea4c0494ce36818d909a44f25573257 (diff)
downloadperl-c7a7bc4d893b49c02fd57bcedcf8c119538c6120.tar.gz
Give Config a version number
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm6
1 files changed, 4 insertions, 2 deletions
diff --git a/configpm b/configpm
index 6ea7419852..d3983f7d39 100755
--- 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