diff options
author | David Golden <dagolden@cpan.org> | 2013-02-13 21:09:45 -0500 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2013-02-13 21:14:23 -0500 |
commit | c7a7bc4d893b49c02fd57bcedcf8c119538c6120 (patch) | |
tree | ad7279c161d71888b9d9b1660e3860a4a645e14b /configpm | |
parent | de19dead5ea4c0494ce36818d909a44f25573257 (diff) | |
download | perl-c7a7bc4d893b49c02fd57bcedcf8c119538c6120.tar.gz |
Give Config a version number
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |