X-Git-Url: http://git.home-dn.net/?p=manu%2FRT-Extension-UserDetails.git;a=blobdiff_plain;f=inc%2FModule%2FInstall.pm;h=4ecf46b9e867fa98f05ac33da794de5d45df4c95;hp=8ee839ddc63f92ba7caa3039508245a59980b0f5;hb=9abba2f0fd14e5bf3d9450d577909d06cba52198;hpb=d271ad465399447b7210831aced9a42f21df682c diff --git a/inc/Module/Install.pm b/inc/Module/Install.pm index 8ee839d..4ecf46b 100644 --- a/inc/Module/Install.pm +++ b/inc/Module/Install.pm @@ -31,7 +31,7 @@ BEGIN { # This is not enforced yet, but will be some time in the next few # releases once we can make sure it won't clash with custom # Module::Install extensions. - $VERSION = '1.00'; + $VERSION = '1.06'; # Storage for the pseudo-singleton $MAIN = undef; @@ -451,7 +451,7 @@ sub _version ($) { } sub _cmp ($$) { - _version($_[0]) <=> _version($_[1]); + _version($_[1]) <=> _version($_[2]); } # Cloned from Params::Util::_CLASS @@ -467,4 +467,4 @@ sub _CLASS ($) { 1; -# Copyright 2008 - 2010 Adam Kennedy. +# Copyright 2008 - 2012 Adam Kennedy.