Text::LooseCSV 1.5
Sponsored Links
Text::LooseCSV 1.5 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1040
Date added:
2006-12-21
Publisher:
Reed Sandberg
Text::LooseCSV 1.5 description
Text::LooseCSV is a highly forgiving variable length record text parser; compare to MS Excel.
SYNOPSIS
use Text::LooseCSV;
use IO::File;
$fh = new IO::File $fname;
$f = new Text::LooseCSV($fh);
# Some optional settings
$f->word_delimiter("t");
$f->line_delimiter("n");
$f->no_quotes(1);
# Parse/split a line
while ($rec = $f->next_record())
{
if ($rec == -1)
{
warn("corrupt rec: ", $f->cur_line);
next;
}
# process $rec as arrayref
...
}
# Or, (vice-versa) create a variable-length record file
$line = $f->form_record( [ Debbie Does Dallas,30.00,VHS,Classic ] );
Why another variable-length text record parser? Ive had the privilege to parse some of the gnarliest data ever seen and everything else I tried on CPAN choked (at the time I wrote this module). This module has been munching on millions of records of the filthiest data imaginable at several production sites so I thought Id contribute.
This module follows somewhat loose rules (compare to MS Excel) and will handle embedded newlines, etc. It is capable of handling large files and processes data in line-chunks. If MAX_LINEBUF is reached, however, it will mark the current record as corrupt, return -1 and start over again at the very next line. This will (of course) process tab-delimited data or whatever value you set for word_delimiter.
Methods are called in perl OO fashion.
WARNING this module messes with $/ line_delimiter sets $/ and is always called during construction. Dont change $/ during program execution!
SYNOPSIS
use Text::LooseCSV;
use IO::File;
$fh = new IO::File $fname;
$f = new Text::LooseCSV($fh);
# Some optional settings
$f->word_delimiter("t");
$f->line_delimiter("n");
$f->no_quotes(1);
# Parse/split a line
while ($rec = $f->next_record())
{
if ($rec == -1)
{
warn("corrupt rec: ", $f->cur_line);
next;
}
# process $rec as arrayref
...
}
# Or, (vice-versa) create a variable-length record file
$line = $f->form_record( [ Debbie Does Dallas,30.00,VHS,Classic ] );
Why another variable-length text record parser? Ive had the privilege to parse some of the gnarliest data ever seen and everything else I tried on CPAN choked (at the time I wrote this module). This module has been munching on millions of records of the filthiest data imaginable at several production sites so I thought Id contribute.
This module follows somewhat loose rules (compare to MS Excel) and will handle embedded newlines, etc. It is capable of handling large files and processes data in line-chunks. If MAX_LINEBUF is reached, however, it will mark the current record as corrupt, return -1 and start over again at the very next line. This will (of course) process tab-delimited data or whatever value you set for word_delimiter.
Methods are called in perl OO fashion.
WARNING this module messes with $/ line_delimiter sets $/ and is always called during construction. Dont change $/ during program execution!
Text::LooseCSV 1.5 Screenshot
Text::LooseCSV 1.5 Keywords
LooseCSV
MS Excel
MS
LooseCSV 1.5
Excel
variable length record
compare to
variable length
record text
Text parser
record
F-
line
parser
text
compare
Bookmark Text::LooseCSV 1.5
Text::LooseCSV 1.5 Copyright
WareSeeker periodically updates pricing and software information of Text::LooseCSV 1.5 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::LooseCSV 1.5 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
variable length records
Variable_length_record
variable length record in cobol
sas variable length records
cobol variable length record
what is variable length record
recordonline
parts of ms excel
tower records
cobol variable length records
record courier
ms excel tutorial
recording software
advantages of variable length record
record herald
public records
ms excel tricks
ms excel tutorials
Related Software
Test::Parser is a collection of parsers for different test output file formats. Free Download
Tartan is a text parsing engine targeted at wiki text. Free Download
Text::Refer can parse Unix "refer" files. Free Download
EMS Data Export for PostgreSQL is a cross-platform program to export your data quickly from PostgreSQL databases. Free Download
Tremstats is a easy-to-use tool for server admins to create game statistics for Tremulous servers. Free Download
TableTools sorts, filters or copies any HTML table. Free Download
Getopt::Declare is a Perl module with Declaratively Expressed Command-Line Arguments via Regular Expressions. Free Download
IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array. Free Download
Latest Software
Popular Software
Favourite Software