There is a base with columns: date, name, progress, quality. It is necessary to make a visual presentation, for this I do a selection with sorting by date and create a hash of multidimensional arrays - push @{$data{'name'}[$day]}, "$progress/rating";
I can not generate a full table. If you specify clearly for each array, it works:
print table( Tr( td('name'), td(@{$data{'name'}}[1]), ), ); but you need to show all the arrays, something like [0 .. @{$data{'name'}}]
$data[$day]{name}. And thistableis from which module. I see something very similar in CGI.pm though it’s customary to do there via a CGI instance and then it looks likeprint $q->tableyou don’t see the same instance ... - MikeHTML::Table, add the lines there yourself (and you can do it right in the reading loop from the database, so as not to generate multidimensional structures in memory at all) - Mike<td/>is the same as<td></td>- i.e. empty column - Mike