diff options
Diffstat (limited to 'regen/warnings.pl')
-rw-r--r-- | regen/warnings.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/regen/warnings.pl b/regen/warnings.pl index 25faf1f110..6a07493624 100644 --- a/regen/warnings.pl +++ b/regen/warnings.pl @@ -16,7 +16,7 @@ # # This script is normally invoked from regen.pl. -$VERSION = '1.03'; +$VERSION = '1.35'; BEGIN { require 'regen/regen_lib.pl'; @@ -414,6 +414,13 @@ EOM } while (<DATA>) { + last if /^VERSION$/ ; + print $pm $_ ; +} + +print $pm qq(our \$VERSION = "$::VERSION";\n); + +while (<DATA>) { last if /^KEYWORDS$/ ; print $pm $_ ; } @@ -479,7 +486,7 @@ read_only_bottom_close_and_rename($pm); __END__ package warnings; -our $VERSION = '1.34'; +VERSION # Verify that we're called correctly so that warnings will work. # see also strict.pm. |