perl-Data-CTable - Read, write, manipulate tabular data

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-CTable-1.01-alt1.noarch.rpm
Package name perl-Data-CTable
Package version 1.01
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 438.81 KB
Installed size 438.81 KB
my $People = Data::CTable->new("people.merge.mac.txt");
my $Stats  = Data::CTable->new("stats.tabs.unix.txt");
$Stats ->clean_ws();
my $First = $People->col('FirstName');
my $Last  = $People->col('LastName' );
my $Full  = [map {"$First->[$_] $Last->[$_]"} @{$People->all()}];
$People->col(FullName => $Full);
$People->calc(sub {no strict 'vars'; $Key = "$Last,$First";});
$Stats->join($People, PersonID => 'Key');
$Stats->select(Department => sub {/Sale/i  });  ## Sales depts
$Stats->omit  (Department => sub {/Resale/i});  ## not Resales
$Stats->select(UsageIndex => sub {$_ > 20.0});  ## high usage
$Stats->sortspec('DeptNum'   , {SortType => 'Integer'});
$Stats->sortspec('UsageIndex', {SortType => 'Number' });
$Stats->sort([qw(DeptNum UsageIndex Last First)]);
my $Report = $Stats->snapshot();
$Report->write(_FileName => "Rept.txt", _LineEnding => "mac");


Package Version Architecture Repository
perl-Data-CTable - - -


Name Value
/usr/bin/perl -
/usr/share/perl5 -
perl( -
perl(File/ -
perl(File/ -
perl(Getopt/ -
perl(IO/ -
perl( -
perl( -
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Data/ = 1.010
perl(Data/CTable/ = 0.100
perl(Data/CTable/ = 0.100
perl(Data/CTable/ = 0.100
perl-Data-CTable = 1.01-alt1


Type URL
Binary Package perl-Data-CTable-1.01-alt1.noarch.rpm
Source Package perl-Data-CTable-1.01-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-CTable rpm package:
    # sudo apt-get install perl-Data-CTable



See Also

Package Description
perl-Data-CTable-scripts-1.01-alt1.noarch.rpm Data-CTable scripts
perl-Data-Capture-0.27-alt1.noarch.rpm Perl6 Capture objects
perl-Data-Censor-0.03-alt1.noarch.rpm censor sensitive stuff in a data structure
perl-Data-Check-Structure-0.04-alt1.noarch.rpm Check structure of data
perl-Data-ChipsChallenge-1.0.0-alt1.noarch.rpm Perl interface to Chip's Challenge data files
perl-Data-Circular-Util-0.59-alt1.noarch.rpm Data utilities
perl-Data-CircularList-0.03-alt1.noarch.rpm simple implementation for using CircularList data structure
perl-Data-Classifier-0.01-alt1.noarch.rpm perl module Data-Classifier
perl-Data-Classifier-NaiveBayes-0.001-alt1.noarch.rpm Naive Bayes Classifier
perl-Data-Clean-0.505-alt1.noarch.rpm Clean data structure
perl-Data-Clean-ForJSON-0.394-alt1.noarch.rpm Clean data so it is safe to output to JSON
perl-Data-Clean-ForJSON-Pregen-0.001-alt1.noarch.rpm Clean data so it is safe to output to JSON
perl-Data-Clean-FromJSON-Pregen-0.001-alt1.noarch.rpm Clean data from JSON encoder
perl-Data-Clean-JSON-0.392-alt1.noarch.rpm Clean data so it is safe to output to JSON
perl-Data-Clean-ToStringyNumber-0.050-alt1.noarch.rpm Convert non-stringy numbers in data to stringy numbers