|Subject:||missing parameter to compare callback|
|Date:||Mon, 24 Jul 2006 09:55:58 -0700 (PDT)|
|From:||James Woodworth <firstname.lastname@example.org>|
Hello, i found that at line 188 of Algorithm::DiffOld, the "@_" is missing; this is needed so that extra parameters into the "traverse_sequences" that are passed into _longestCommonSubsequence are subsequently passed into the callback in $compare.
next if ! &$compare( $a->[$i], $b->[$j] );
next if ! &$compare( $a->[$i], $b->[$j], @_ );
please correct me if i am wrong.
thanks, jim w.
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.