perl-Data-CTable-1.01-alt1.noarch.rpm


Advertisement

Description

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");
$People->clean_ws();
$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->col('Key');
$People->calc(sub {no strict 'vars'; $Key = "$Last,$First";});
$Stats->join($People, PersonID => 'Key');
$Stats->select_all();
$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");
$Stats->progress("Done!");

Alternatives

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

Requires

Name Value
/usr/bin/perl -
/usr/share/perl5 -
perl(Config.pm) -
perl(File/Basename.pm) -
perl(File/Glob.pm) -
perl(Getopt/Long.pm) -
perl(IO/File.pm) -
perl(POSIX.pm) -
perl(Storable.pm) -
perl(integer.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/CTable.pm) = 1.010
perl(Data/CTable/Listing.pm) = 0.100
perl(Data/CTable/ProgressLogger.pm) = 0.100
perl(Data/CTable/Script.pm) = 0.100
perl-Data-CTable = 1.01-alt1

Download

Type URL
Mirror ftp.altlinux.org
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] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/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

Files

Path
/usr/share/doc/perl-Data-CTable-1.01/Changes.txt
/usr/share/doc/perl-Data-CTable-1.01/README
/usr/share/perl5/Data/CTable.pm
/usr/share/perl5/Data/CTable/Listing.pm
/usr/share/perl5/Data/CTable/ProgressLogger.pm
/usr/share/perl5/Data/CTable/Script.pm

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
Advertisement
Advertisement