X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FAlgorithm%2FC3.pm;h=a18828a23ce2d158fa99a141f9c2422d55e6e10a;hb=6f1d530c5744b94be30bd988cf61b19f13ef181d;hp=1f59340e0f89c7a16e0955dae9c8180cb3bc89d5;hpb=ce83d5672bc2274d84e57bc72304636fb421e46e;p=gitmo%2FAlgorithm-C3.git diff --git a/lib/Algorithm/C3.pm b/lib/Algorithm/C3.pm index 1f59340..a18828a 100644 --- a/lib/Algorithm/C3.pm +++ b/lib/Algorithm/C3.pm @@ -55,7 +55,9 @@ sub merge { # http://www.python.org/2.3/mro.html :) # Initial set - my @seqs = ([$current_root], @$recurse_mergeout, $current_parents); + my @deepcopy_recurse_mergeout; + push(@deepcopy_recurse_mergeout, [@$_]) for (@$recurse_mergeout); + my @seqs = ([$current_root], @deepcopy_recurse_mergeout, [@$current_parents]); # Construct the tail-checking hash my %tails; @@ -275,10 +277,12 @@ is the B report on this module's test suite. =back -=head1 AUTHOR +=head1 AUTHORS Stevan Little, Estevan@iinteractive.comE +Brandon L. Black, Eblblack@gmail.comE + =head1 COPYRIGHT AND LICENSE Copyright 2006 by Infinity Interactive, Inc.