On Thu, Jul 11, 2002 at 09:46:23AM +0200, Perl Authors Upload Server wrote:
>
> The following module was proposed for inclusion in the Module List:
>
> modid: Data::CrossTable
> DSLIP: idpOp
> description: Tables with automatic col/row/total sums
> userid: BIGJ (Janek Schleicher)
> chapterid: 6 (Data_Type_Utilities)
> communities:
>
> similar:
> Data::Table
>
> rationale:
>
> This modules handles of tables with automatic generated
> col/row/total sums. A simple example could be: 1 2 3 4 Sum 1 4 5 6 1
> 16 2 1 2 3 4 10 3 10 1 1 2 14 Sum 15 8 10 7 40
>
> Setting the values into the tables will force to recalculate the
> sums. That is e.g. used when generating statistical reports.
>
> Of course, you can use any associative, distributive operation
> instead of sum (e.g. multiplication makes sense when working with
> probabilities).
>
> It's a special form of a table, so the name Data::CrossTable should
> be O.K..
Why 'Cross'? Makes me think of 'pivot' cross-tabulations, which are a different thing.
See http://search.cpan.org/search?mode=doc&query=pivot
There's already Data::Pivot, Data::Pivoter, and Data::Xtab
(which sounds close to yours even if it's spelt differently :)
How about Data::TableAutoSum?
Tim.