in reply to Optimal way to read in pipe delimited files

I like using Text::CSV_XS. It allows setting the separator to the pipe (or whatever). It does allow for quoted fields (a|b|"pipes use |"|c) and so forth. It may not be necessary for very simple files, but does use XS so it may be faster. That kind of depends on the data, so try it on yours.

--traveler

Replies are listed 'Best First'.
Re^2: Optimal way to read in pipe delimited files
by narashima (Beadle) on Nov 09, 2005 at 20:23 UTC
    I checked with my data. It did not make a big difference as my data is mostly a huge matrix of decimals.
    Thanks,
    narashima