'CPANPLUS' =>
{
'MAINTAINER' => 'kane',
- 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.89_07.tar.gz',
+ 'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.89_08.tar.gz',
'FILES' => q[cpan/CPANPLUS],
'EXCLUDED' => [ qr{^inc/},
qr{^t/dummy-.*\.hidden$},
use vars qw( @EXPORT @ISA $VERSION );
@EXPORT = qw( shell fetch get install );
@ISA = qw( Exporter );
- $VERSION = "0.89_07"; #have to hardcode or cpan.org gets unhappy
+ $VERSION = "0.89_08"; #have to hardcode or cpan.org gets unhappy
}
### purely for backward compatibility, so we can call it from the commandline:
### let's start putting the blame somewhere
} else {
+ # Lets not give up too easily. There is one last chance
+ # http://perlmonks.org/?node_id=805957
+ # This should catch edge-cases where the package name
+ # is unrelated to the modules it contains.
+
+ my ($modobj) = grep { $_->package_name eq $mod }
+ $self->search( type => 'package', allow => [ qr/^\Q$mod\E/ ], );
+ return $modobj if IS_MODOBJ->( module => $modobj );
+
unless( $author ) {
error( loc( "'%1' does not contain an author part", $mod ) );
}
=cut
- $Conf->{'conf'}->{'prefer_makefile'} = 1;
+ $Conf->{'conf'}->{'prefer_makefile'} =
+ ( $] >= 5.010001 ? 0 : 1 );
=item prereqs
CPANPLUS::Internals::Report
];
-$VERSION = "0.89_07";
+$VERSION = "0.89_08";
=pod
BEGIN {
use vars qw[ $VERSION @ISA ];
@ISA = qw[ CPANPLUS::Shell::_Base::ReadLine ];
- $VERSION = "0.89_07";
+ $VERSION = "0.89_08";
}
load CPANPLUS::Shell;