NAME

Querylet::Output::Text - output querylet results to text tables

VERSION

version 0.113

SYNOPSIS

 use Querylet;
 use Querylet::Output::Text;

 database: dbi:SQLite2:dbname=cpants.db

 query:
   SELECT kwalitee.dist,kwalitee.kwalitee
   FROM   kwalitee
   JOIN   dist ON kwalitee.distid = dist.id
   WHERE  dist.author = 'RJBS'
   ORDER BY kwalitee.dist;

 output format: text

DESCRIPTION

This module registers an output handler to produce plaintext tables, using Text::Table.

METHODS

default_type

The default type for Querylet::Output::Text is "text"

handler

The output handler uses Text::Table to print a simple table, suitable for reading at the console.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.