--- g-cpan 2007-12-24 14:11:42.000000000 +0100 +++ g-cpan 2007-12-24 14:12:01.000000000 +0100 @@ -531,7 +531,7 @@ } } spinner_stop(); - if (!$gcpan_run->{cpan}{lc($ebuild_wanted)} && !defined($gcpan_run->{portage}{lc($ebuild_wanted)}{found})) + if ((!$gcpan_run->{cpan}{lc($ebuild_wanted)} || !keys %{$gcpan_run->{cpan}{lc($ebuild_wanted)}}) && !defined($gcpan_run->{portage}{lc($ebuild_wanted)}{found})) { # Fallback to trying the /-/::/ trick - we avoid this the first time