I shipped Teng::Plugin::TextTable 0.01.
You can dump a database data as text table.
It's useful for debugging. I often define a dump_table() function in my t/Util.pm.
You can write it as a following form with this library:
use Amon2::Declare;
sub dump_table {
my $table_name = shift;
require Teng::Plugin::TextTable;
return c->db->Teng::Plugin::TextTable::draw_text_table($table_name);
}
Enjoy!