Perhaps you want Text::Table?
In reply to Re: Creating table through PERL by clueless newbie in thread Creating table through PERL by sid.verycool