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

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



Dear Martin:

You might look into the Text::CSV_XS module (and it's slower brother, 
Text::CSV). They default to handling Comma Seperated Value files, but 
you can set the escape chars, seperator chars, etc to other values. 
The modules can also create CVS files from your data.

Your solution is _much_ more elegant, but I suspect Text::CSV_XS 
handles quoting and escaped characters more generally. :)

best,
joshr

At 11:26 AM -0300 9/15/00, martin langhoff wrote:
>	After looking in vain for a pm that implemented a tab-delimited  file
>parser, I found I had to write it myself, and so I started jotting code
>together. And even though I 'd like to claim my place with those who
>deserve to be subscribed to this list, I could not do it in a fast,
>terse and elegant way.

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