NAME
Array::Reform - Convert an array into N-sized array of arrays
SYNOPSIS
use Array::Reform;
@sample = ( 1 .. 10 );
$rowsize = 3;
Array::Reform->reform( $rowsize, \@sample );
=>
(
[ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ],
[ 10 ]
);
DESCRIPTION
Ever had a list of things you needed to neetly format into a set of HTML table rows? Well, look no further my friend. For the low, low price of 0.00 you too can reform you data into a neet set of lists and produce tables from it.
AUTHOR
lhoward at www.perlmonks.org wrote this. I merely uploaded it. many thanks to adam and swiftone for their solutions (also on Perl Monks). A bit of rewriting and some error checking done by crystalflame, also on Perl Monks.
SEE ALSO
http://www.perlmonks.org --- quick answers to your Perl questions.