and every problem seems to have this warning at the bottom...
Use of uninitialized value $result[0] in print at /opt/webwork/webwork2/lib/WeBWorK/Template.pm line 154.
Here is a snippet of that file below. Line 154 is the "print @result;".
pop @ifstack;
} elsif ($ifstack[-1]) {
if ($cg->can($function)) {
my @result = $cg->$function({@args});
if (@result) {
print @result;
} else {
warn "Template escape $function\
returned an empty list.";
}
}
cs