version 1.140, 2003/02/07 21:55:44
|
version 1.142, 2003/02/07 22:17:51
|
Line 997 sub render {
|
Line 997 sub render {
|
my $in24Hours = $now + 24 * 60 * 60; |
my $in24Hours = $now + 24 * 60 * 60; |
my $rownum = 0; |
my $rownum = 0; |
|
|
|
# export "here" marker information |
|
$args->{'here'} = $here; |
|
$args->{'hereType'} = $hereType; |
|
|
while ($depth > 0) { |
while ($depth > 0) { |
if ($curRes == $it->BEGIN_MAP()) { $depth++; } |
if ($curRes == $it->BEGIN_MAP()) { $depth++; } |
if ($curRes == $it->END_MAP()) { $depth--; } |
if ($curRes == $it->END_MAP()) { $depth--; } |
Line 2496 sub getErrors {
|
Line 2500 sub getErrors {
|
|
|
=pod |
=pod |
|
|
=item * B<parts>(): Returns a list reference containing sorted strings corresponding to each part of the problem. To count the number of parts, use the list in a scalar context, and subtract one if greater then two. (One part problems have a part 0. Multi-parts have a part 0, plus a part for each part. Filtering part 0 if you want it is up to you.) |
=item * B<parts>(): Returns a list reference containing sorted strings corresponding to each part of the problem. To count the number of parts, use the list in a scalar context, and subtract one if greater than two. (One part problems have a part 0. Multi-parts have a part 0, plus a part for each part. Filtering part 0 if you want it is up to you.) |
|
|
=item * B<countParts>(): Returns the number of parts of the problem a student can answer. Thus, for single part problems, returns 1. For multipart, it returns the number of parts in the problem, not including psuedo-part 0. Thus, B<parts> may return an array with fewer parts in it then countParts might lead you to believe. |
=item * B<countParts>(): Returns the number of parts of the problem a student can answer. Thus, for single part problems, returns 1. For multipart, it returns the number of parts in the problem, not including psuedo-part 0. Thus, B<parts> may return an array with fewer parts in it then countParts might lead you to believe. |
|
|