NAME

Data::Tabulate - Create a table (two-dimensional array) from a list (one dimensional array)

VERSION

Version 0.01

SYNOPSIS

my $table = Data::Tabulate->new([ 'a' .. 'z' ], rows => 6);
my $rows = $table->rows;
# Returns a the following two-dimensional array:
# [ 
#  [ qw/ a b c d e / ],
#  [ qw/ f g h i j / ],
#  [ qw/ k l m n o / ],
#  [ qw/ p q r s t / ],
#  [ qw/ u v w x y / ],
#  [ qw/ z/ ],
# ]

my $columns = $table->columns;
# Returns a the following two-dimensional array:
# [ 
#  [ qw/ a f k p u z / ],
#  [ qw/ b g l q v / ],
#  [ qw/ c h m r w / ],
#  [ qw/ d i n s x / ],
#  [ qw/ e j o t y / ],
# ]
Data::Tabulate->new
$table->data
$table->width
$table->height
$table->dimensions
$table->geometry
$table->rows
$table->columns
$table->row
$table->column
$table->as_string

AUTHOR

Robert Krimen, <rkrimen at cpan.org>

BUGS

Please report any bugs or feature requests to bug-data-tabulate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-Tabulate. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Data::Tabulate

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 Robert Krimen, all rights reserved.

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