From: Jesse Vincent Date: Thu, 11 Mar 2010 21:52:42 +0000 (+0100) Subject: [perl# 73490] Bump Time::Piece to a devel release that's newer than what X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f83704b301c5cfe316ce4e0465c20f00d9e404d5;p=p5sagit%2Fp5-mst-13.2.git [perl# 73490] Bump Time::Piece to a devel release that's newer than what was in Blead but is old than the current updated CPAN release. Comment out a now deprecated 'use UNIVERSAL' line to prevent warnings from production code. It's bad form to ship software that deprecates things and then keeps using them and warning. Thanks to xdg++ for the spotting. --- diff --git a/cpan/Time-Piece/Piece.pm b/cpan/Time-Piece/Piece.pm index a42eb6a..a7a602f 100644 --- a/cpan/Time-Piece/Piece.pm +++ b/cpan/Time-Piece/Piece.pm @@ -9,7 +9,7 @@ require DynaLoader; use Time::Seconds; use Carp; use Time::Local; -use UNIVERSAL qw(isa); +#use UNIVERSAL qw(isa); # Commented out for Perl 5.12.0 by JRV to avoid a deprecation warning our @ISA = qw(Exporter DynaLoader); @@ -22,7 +22,7 @@ our %EXPORT_TAGS = ( ':override' => 'internal', ); -our $VERSION = '1.15'; +our $VERSION = '1.15_01'; bootstrap Time::Piece $VERSION; diff --git a/cpan/Time-Piece/Seconds.pm b/cpan/Time-Piece/Seconds.pm index 20883fc..4aac988 100644 --- a/cpan/Time-Piece/Seconds.pm +++ b/cpan/Time-Piece/Seconds.pm @@ -3,7 +3,7 @@ package Time::Seconds; use strict; use vars qw/@EXPORT @EXPORT_OK @ISA/; -use UNIVERSAL qw(isa); +# use UNIVERSAL qw(isa); # Commented out for Perl 5.12.0 by JRV to avoid a deprecation warning. @ISA = 'Exporter';