... iterate over results from database request ... { push (@rows, $c->td([$firstvar, $secondvar, $thirdvar])); }