Skip to content

Commit

Permalink
last commits? Why is this stuff left over?
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Mar 16, 2015
1 parent 43561cb commit dc5af1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/App/Cpan.pm
Expand Up @@ -1526,8 +1526,6 @@ sub _guess_at_module_name
my( $target, $threshold ) = @_;

unless( defined $distance ) {
my $distance;
BEGIN {
foreach my $try ( @$guessers ) {
my $can_guess = eval "require $try->[0]; 1" or next;

Expand Down Expand Up @@ -1558,6 +1556,7 @@ BEGIN {
my @guesses = sort { $guesses{$a} <=> $guesses{$b} } keys %guesses;
return [ grep { defined } @guesses[0..9] ];
}
}

1;

Expand All @@ -1580,7 +1579,6 @@ not control. For now, the exit codes are vague:
=head1 TO DO
}
* There is initial support for Log4perl if it is available, but I
haven't gone through everything to make the NullLogger work out
correctly if Log4perl is not installed.
Expand Down

0 comments on commit dc5af1d

Please sign in to comment.