[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] a better tab-delimited test parser



On Fri, Sep 15, 2000 at 11:26:42AM -0300, martin langhoff wrote:
> After looking in vain for a pm that implemented a tab-delimited file
> parser

Text::ParseWords, Text::CSV, Text::CSV_XS and DBD::CSV.

Text::ParseWords is the simplest of the lot, DBD::CSV is the most
expandable (if you're into DBI and SQL).

Parsing out a deliminated text file was one of the first jobs I ever
had to do.  It was a comma seperated MLS (Multiple List Search, the
thing real estate brokers use to find houses) file with MISTAKES in it
(MLS is a piece of crap).  I had to do some tinkering to
Text::ParseWords to make it DWIM (any my name's still in the man page! 
cool!)


-- 

Michael G Schwern      http://www.pobox.com/~schwern/      schwern@pobox.com
Just Another Stupid Consultant                      Perl6 Kwalitee Ashuranse
"None of our men are "experts."... because no one ever considers
himself expert if he really knows his job."  
-- From Henry Ford Sr., "My Life and Work," p. 86 (1922): 

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe