Andreas J. Koenig [Sat, 27 Mar 2010 17:26:44 +0000 (13:26 -0400)]
module deprecation
commit
8b7e29685086feb1e01992478bcb0498f584574c
Author: Andreas J. Koenig <andk@cpan.org>
Date: Tue Mar 16 08:56:03 2010 +0100
except deprecated modules from short circuiting, uncovered by
Data::TreeDumper/Class::ISA
use CPAN::InfoObj;
@CPAN::Distribution::ISA = qw(CPAN::InfoObj);
use vars qw($VERSION);
-$VERSION = "1.9456";
+$VERSION = "1.9456_01";
# Accessors
sub cpan_comment {
or $need_version eq '0' # "==" would trigger warning when not numeric
or $need_version eq "undef"
)) {
- next NEED;
+ unless ($nmo->inst_deprecated) {
+ next NEED;
+ }
+
}
$available_version = $nmo->available_version;
'CPAN::Complete' => '5.5',
'CPAN::Debug' => '5.5001',
'CPAN::DeferredCode' => '5.50',
- 'CPAN::Distribution' => '1.9456',
+ 'CPAN::Distribution' => '1.9456_01',
'CPAN::Distroprefs' => '6',
'CPAN::Distrostatus' => '5.5',
'CPAN::Exception::RecursiveDependency'=> '5.5',