summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2015-09-14 14:31:43 +1000
committerTony Cook <tony@develop-help.com>2015-10-12 14:55:49 +1100
commit3d8ff82557d67bc81d10600b537a57f90f401a4f (patch)
tree42de3be0b1eb7ba40ebac5854a7943be54ebebfa
parent6937817d58b1688d689072cd112ed95fe62db2a7 (diff)
downloadperl-3d8ff82557d67bc81d10600b537a57f90f401a4f.tar.gz
sync regen/warnings.pl and warnings.pm $VERSION
regen/warnings.pl's $VERSION was at 1.04 despite it being modified each time warnings.pm is modified. So make them use the same version number.
-rw-r--r--lib/warnings.pm2
-rw-r--r--regen/warnings.pl11
2 files changed, 10 insertions, 3 deletions
diff --git a/lib/warnings.pm b/lib/warnings.pm
index 1084723dee..ba466a88b9 100644
--- a/lib/warnings.pm
+++ b/lib/warnings.pm
@@ -5,7 +5,7 @@
package warnings;
-our $VERSION = '1.34';
+our $VERSION = "1.35";
# Verify that we're called correctly so that warnings will work.
# see also strict.pm.
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.