r56785 - in /branches/upstream/libmodule-load-conditional-perl/current: CHANGES META.yml lib/Module/Load/Conditional.pm
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Sun Apr 25 02:41:30 UTC 2010
Author: ansgar-guest
Date: Sun Apr 25 02:41:24 2010
New Revision: 56785
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56785
Log:
[svn-upgrade] Integrating new upstream version, libmodule-load-conditional-perl (0.38)
Modified:
branches/upstream/libmodule-load-conditional-perl/current/CHANGES
branches/upstream/libmodule-load-conditional-perl/current/META.yml
branches/upstream/libmodule-load-conditional-perl/current/lib/Module/Load/Conditional.pm
Modified: branches/upstream/libmodule-load-conditional-perl/current/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-load-conditional-perl/current/CHANGES?rev=56785&op=diff
==============================================================================
--- branches/upstream/libmodule-load-conditional-perl/current/CHANGES (original)
+++ branches/upstream/libmodule-load-conditional-perl/current/CHANGES Sun Apr 25 02:41:24 2010
@@ -1,3 +1,9 @@
+Changes for 0.38 Fri Apr 23 15:52:38 BST 2010
+=================================================
+* New release of version raises exceptions on
+ parse errors. Use eval to guard ourselves
+ against this.
+
Changes for 0.36 Tue Feb 9 14:16:21 GMT 2010
=================================================
* Apply patch from Pavel Shaydo RT #53546 to improve
Modified: branches/upstream/libmodule-load-conditional-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-load-conditional-perl/current/META.yml?rev=56785&op=diff
==============================================================================
--- branches/upstream/libmodule-load-conditional-perl/current/META.yml (original)
+++ branches/upstream/libmodule-load-conditional-perl/current/META.yml Sun Apr 25 02:41:24 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Module-Load-Conditional
-version: 0.36
+version: 0.38
abstract: Looking up module information / loading at runtime
author:
- Jos Boumans <kane[at]cpan.org>
Modified: branches/upstream/libmodule-load-conditional-perl/current/lib/Module/Load/Conditional.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-load-conditional-perl/current/lib/Module/Load/Conditional.pm?rev=56785&op=diff
==============================================================================
--- branches/upstream/libmodule-load-conditional-perl/current/lib/Module/Load/Conditional.pm (original)
+++ branches/upstream/libmodule-load-conditional-perl/current/lib/Module/Load/Conditional.pm Sun Apr 25 02:41:24 2010
@@ -18,7 +18,7 @@
$FIND_VERSION $ERROR $CHECK_INC_HASH];
use Exporter;
@ISA = qw[Exporter];
- $VERSION = '0.36';
+ $VERSION = '0.38';
$VERBOSE = 0;
$DEPRECATED = 0;
$FIND_VERSION = 1;
@@ -298,10 +298,18 @@
### Update from JPeacock: apparently qv() and version->new
### are different things, and we *must* use version->new
### here, or things like #30056 might start happening
- $href->{uptodate} =
+
+ ### We have to wrap this in an eval as version-0.82 raises
+ ### exceptions and not warnings now *sigh*
+
+ eval {
+
+ $href->{uptodate} =
version->new( $args->{version} ) <= version->new( $href->{version} )
? 1
: 0;
+
+ };
}
if ( $DEPRECATED and version->new($]) >= version->new('5.011') ) {
More information about the Pkg-perl-cvs-commits
mailing list