When trying to install Class-DBI modules, g-cpan fails when it is unable to find Class-DBI-v. This is simply because Class-DBI uses v in it's version string - Class-DBI-v3.0.1. The attached patch modifies portage_dir to correct this bug for Class::DBI (and, in theory, similarly named packages)
Created attachment 78587 [details, diff] allow "v-string" style version numbers in g-cpan dependancies
Created attachment 80128 [details, diff] Updated patch I hit this bug as well. My updated patch also patches another regular expression in the function create_ebuild().
ok, the patch for -v* versions has been applied (thanks hansmi :) - but the rest of this bug is bogus even if it highlights a bug (ironically). Class-DBI is handled in dev-perl/Class-DBI - g-cpan isn't actually writing an ebuild for it. Even double checked, and I added it March 31 2004 to portage. Not sure how you ran into this otherwise valid bug.