G. Allen Morris III > Data-Tabular-0.29 > Data::Tabular::Group

Download:
Data-Tabular-0.29.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Data::Tabular::Group

SYNOPSIS ^

This object is used by Data::Tabular to create `extra' columns on a table.

The subroutines in the `extra' section run under this package.

 ...
 extra => {
  'bob' => sub {
    my $self = shift;   # this is an Data::Tabular::Extra object
   }
 }
 ...

DESCRIPTION ^

This object is used to supply tools to the Data::Tabular designer. It also helps to protect the data from that designer.

METHODS ^

get

Method to access the data for a column. Given a list of column names this method returns a list of column data.

sum

Method to sum a set of columns. Given a list of column names this method returns the sum of those columns. The type of the data returned is the type of the first column.

syntax highlighting: