Have you investigated CPAN? Specifically, Text::Table? The trick becomes massaging your input data into the format that Text::Table wants it, but then it becomes much more trivial to get it printing right.
In reply to Re: printing out a matrix for a data list
by Tanktalus
in thread printing out a matrix for a data list
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |