I just added a new feature in the upcoming version of Text::ASCIITable.
The new subroutine is called addRowLine. And is documented as follows:
addRowLine([$row])
Will add a line after the current row. As an argument, you
may specify after which row you want a line (first row is
1) or an array of row numbers. (HINT: If you want a line
after every row, read about the drawRowLine option in
setOptions())
Example without arguments:
$t->addRow('one','two','three');
$t->addRowLine();
$t->addRow('one','two','three');
$t->addRow('one','two','three');
Example with argument:
$t->addRow('one','two','three');
$t->addRow('one','two','three');
$t->addRow('one','two','three');
$t->addRow('one','two','three');
$t->addRowLine(1); # or multiple: $t->addRowLine([2,3]);
If you have any objections/ideas to this, please tell me, and I'll consider changing it :)