To write the output I'd recommend Text::Table.
Perl 6 in German
In reply to Re: MultiLine Tables into Variables by moritz in thread MultiLine Tables into Variables by Knoperl