perl-DataExtract-FixedWidth-0.09-alt1.noarch.rpm


Advertisement

Description

perl-DataExtract-FixedWidth - The one stop shop for parsing static column width text tables!

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-DataExtract-FixedWidth-0.09-alt1.noarch.rpm
Package name perl-DataExtract-FixedWidth
Package version 0.09
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 15.33 KB
Installed size 15.33 KB
This module parses any type of fixed width table -- these types of tables are often outputed by ghostscript, printf() displays with string padding (i.e. %-20s %20s etc), and most screen capture mechanisms. This module is using Moose all methods can be specified in the constructor.
In the below example, this module can discern the column names from the header. Or, you can supply them explicitly in the constructor; or, you can supply the rows in an ArrayRef to heuristic and pray for the best luck. This module is pretty abstracted and will deduce what it doesn't know in a decent fashion if all of the information is not provided.
SAMPLE FILE
HEADER:  'COL1NAME       COL2NAME       COL3NAMEEEEE'
DATA1:   'FOOBARBAZ      THIS IS TEXT   ANHER COL   '
DATA2:   'FOOBAR FOOBAR  IS TEXT        ANOTHER COL '
After you have constructed, you can `->parse' which will return an ArrayRef
$de->parse('FOOBARBAZ THIS IS TEXT    ANOTHER COL');
Or, you can use `->parse_hash()' which returns a HashRef of the data indexed by the column headers. They can be determined in many ways with the data you provide.

Alternatives

Package Version Architecture Repository
perl-DataExtract-FixedWidth - - -

Requires

Name Value
/usr/share/perl5 -
perl(Moose.pm) >= 0.580
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(DataExtract/FixedWidth.pm) = 0.090
perl-DataExtract-FixedWidth = 0.09-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-DataExtract-FixedWidth-0.09-alt1.noarch.rpm
Source Package perl-DataExtract-FixedWidth-0.09-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-DataExtract-FixedWidth rpm package:
    # sudo apt-get install perl-DataExtract-FixedWidth

Files

Path
/usr/share/doc/perl-DataExtract-FixedWidth-0.09/Changes
/usr/share/doc/perl-DataExtract-FixedWidth-0.09/README
/usr/share/perl5/DataExtract/FixedWidth.pm

See Also

Package Description
perl-DataFlow-1.121830-alt1.noarch.rpm A framework for dataflow processing
perl-DataFlow-Proc-DBF-0.03-alt1.noarch.rpm A dBase DBF converting processor
perl-DataFlow-Proc-DPath-1.112100-alt1.noarch.rpm A processor that filters parts of data structures
perl-DataFlow-Proc-HTMLFilter-1.112100-alt1.noarch.rpm A HTML filtering processor
perl-DataFlow-Proc-JSON-1.112100-alt1.noarch.rpm A JSON converting processor
perl-DataFlow-Proc-MessagePack-1.112100-alt1.noarch.rpm A MessagePack converting processor
perl-DataFlow-Proc-URLRetriever-1.121690-alt1.noarch.rpm An URL-retriever processor
perl-DataFlow-Proc-YAML-1.112100-alt1.noarch.rpm A YAML converting processor
perl-DataLoader-0.02-alt1.noarch.rpm Abstract data loading, auto batch and cache
perl-DataStore-CAS-0.020001-alt1.noarch.rpm Content Addressabe Storage API, and implementations
perl-DataStore-CAS-FS-0.011000-alt1.noarch.rpm Virtual Filesystem backed by Content-Addressable Storage
perl-DataStruct-Flat-0.01-alt1.noarch.rpm Convert a data structure into a one level list of keys and values
perl-DataStructure-LinkedList-0.03-alt1.noarch.rpm simple implementation for using LinkedList data structure
perl-DataTables-0.07-alt1.noarch.rpm a server-side solution for the jQuery DataTables plugin
perl-DataWarehouse-0.04-alt1.noarch.rpm Perl Data Warehouse Toolkit
Advertisement
Advertisement