From: Vincent Pit Date: Fri, 27 Nov 2009 16:12:07 +0000 (+0100) Subject: Fix typos in C::D::G::Atom X-Git-Tag: v0.09~18 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=e4a46726f0c8abc9a2bdf28ef8702bfd1642f2f4;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Fix typos in C::D::G::Atom --- diff --git a/lib/CPANPLUS/Dist/Gentoo/Atom.pm b/lib/CPANPLUS/Dist/Gentoo/Atom.pm index 45a68c5..bd0febd 100644 --- a/lib/CPANPLUS/Dist/Gentoo/Atom.pm +++ b/lib/CPANPLUS/Dist/Gentoo/Atom.pm @@ -55,7 +55,7 @@ sub new { bless { category => $category, name => $name, - version => $name, + version => $version, minimum => $args{minimum}, ebuild => $args{ebuild}, }, $class; @@ -120,7 +120,7 @@ sub fold { } if ($atom->minimum) { - if ($cur->minmium) { + if ($cur->minimum) { $seen{$key} = $atom < $cur ? $cur : $atom; } else { Carp::confess('Version mismatch') if $atom > $cur;