Next | Program Repair Shop | 165 |
The two code sections we are merging are not identical
For example, the final table has ? in place of checkboxes in the empty squares
We'll give print_table an extra parameter to choose its behavior
First we'll fix this:
395 my $squares = $_[0]; 396 my $page = $_[1]; 397 my $winner = $_[2]; 398 my $round = $_[3]; 399 my $rounds = $_[4];
Five lines become one:
my ($squares, $page, $winner, $round, $rounds, $final) = @_;
Next | Copyright © 2002 M. J. Dominus |