http://qs321.pair.com?node_id=702812


in reply to Allignment of Chars

Text::Table also works well for this.