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.
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.
#
# This script is normally invoked from regen.pl.
-$VERSION = '1.03';
+$VERSION = '1.35';
BEGIN {
require 'regen/regen_lib.pl';
}
while (<DATA>) {
+ last if /^VERSION$/ ;
+ print $pm $_ ;
+}
+
+print $pm qq(our \$VERSION = "$::VERSION";\n);
+
+while (<DATA>) {
last if /^KEYWORDS$/ ;
print $pm $_ ;
}
__END__
package warnings;
-our $VERSION = '1.34';
+VERSION
# Verify that we're called correctly so that warnings will work.
# see also strict.pm.