/TabParser

Very small Perl library which helps parsing tabular files

Primary LanguagePerlOtherNOASSERTION

NAME

TabParser - A parser of tabulated or comma separated value files

SYNOPSIS

    use TabParser;

DESCRIPTION

TabParser is a library which eases parsing tabular files (or data streams), using the least possible memory and calling callbacks defined before parsing task.

mapFilters($\@)

Function to map the filters

parseTab($;\%)

parseTab parameters: T: the tabular file handle, which is being read config: the configuration hash used to teach the parser how to work callback: the function to call with the read data on each err_callback: the function to call when an error happens

INSTALLATION

Latest release of this package is available in the BSC INB DarkPAN. You can install it just using cpanm:

    cpanm --mirror-only --mirror https://gitlab.bsc.es/inb/darkpan/raw/master/ --mirror https://cpan.metacpan.org/ TabParser

AUTHOR

José M. Fernández https://github.com/jmfernandez

COPYRIGHT

The library was initially created several years ago for the data management tasks in the BLUEPRINT project. It is generic and modular enough to be used in other projects.

Copyright 2019- José M. Fernández & Barcelona Supercomputing Center (BSC)

LICENSE

This library is free software; you can redistribute it and/or modify it under the LGPL 2.1 terms.

SEE ALSO