The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.112

 $Id: /my/cs/projects/q/text/trunk/lib/Querylet/Output/Text.pm 28174 2006-11-16T13:38:21.823039Z rjbs  $

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.

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>

BUGS

Please report any bugs or feature requests to bug-querylet-output-text@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT

Copyright 2004 Ricardo SIGNES, All Rights Reserved.

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