From: Stevan Little Date: Wed, 15 Feb 2006 21:20:26 +0000 (+0000) Subject: verion 0.01 X-Git-Tag: 0_01^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8fe16becb2178b2bd7a919b733883b219f427dae;p=gitmo%2FAlgorithm-C3.git verion 0.01 --- diff --git a/lib/Algorithm/C3.pm b/lib/Algorithm/C3.pm index 5af9182..96a3099 100644 --- a/lib/Algorithm/C3.pm +++ b/lib/Algorithm/C3.pm @@ -40,7 +40,7 @@ sub _merge { } die "Inconsistent hierarchy found while merging '$class_being_merged':\n\t" . "current merge results [\n\t\t" . (join ",\n\t\t" => @res) . "\n\t]\n\t" . - "mergeing failed on '$reject'\n" if not $cand; + "merging failed on '$reject'\n" if not $cand; push @res => $cand; # now loop through our non-empties and pop # off the head if it matches our canidate @@ -71,7 +71,7 @@ __END__ =head1 NAME -Algorithm::C3 - A module for merging lists using the C3 algorithm +Algorithm::C3 - A module for merging hierarchies using the C3 algorithm =head1 SYNOPSIS