a possible fix for infinite loops
Brandon L Black [Thu, 9 Nov 2006 22:34:37 +0000 (22:34 +0000)]
lib/Algorithm/C3.pm

index 009bc10..00250c9 100644 (file)
@@ -48,6 +48,7 @@ sub merge {
             $i = 0;
             next;
         }
+        %seen = ();
 
         my $mergeout = $cache->{merge}->{$current_root} ||= do {