[svn:Module-Build] r13330 - Module-Build/branches/inc-bundling/lib/inc

[email protected] Sun, 13 Sep 2009 14:35:28 -0700 (PDT)
Newsgroups perl.module.build.checkins
Message-ID <[email protected]>
Author: dagolden
Date: Sun Sep 13 14:35:28 2009
New Revision: 13330

Modified:
   Module-Build/branches/inc-bundling/lib/inc/latest.pm

Log:
favor installed over bundled if $VERSION is a tie

Modified: Module-Build/branches/inc-bundling/lib/inc/latest.pm
==============================================================================
--- Module-Build/branches/inc-bundling/lib/inc/latest.pm	(original)
+++ Module-Build/branches/inc-bundling/lib/inc/latest.pm	Sun Sep 13 14:35:28 2009
@@ -120,7 +120,7 @@
     return $pack->_load($mod, @args);
   }
 
-  if (_version($from_inc) > _version($bundled)) {
+  if (_version($from_inc) >= _version($bundled)) {
     # Ignore the bundled copy
     return $pack->_load($mod, @args);
   }