3 - Generate a dealing list for a single hand
5 - (c) 2013 Mark Wooding
10 my @line = Deal::line;
11 my ($row, $col, $box) = (0, 0, 0);
12 for (my $i = 0; $i < @line; $i++) {
19 $i + $nrow*$nbox >= @line ? "last" :
21 $m->out("\n<tr class=$class>");
23 my $class = ($box + $row)%2 ? "odd " : "even";
24 $m->out("\n <td class=$class>");
28 if ($col >= $nbox) { $col = 0; $box++; }
29 if ($box >= $nrow) { $box = 0; $row++; }
50 Failed to find ‘<code><% $what |h %></code>’.
62 my $fail = ($m->dhandler_arg ne "");
66 return $m->comp(".not-found", what => $m->dhandler_arg)