in reply to The future of Text::CSV_XS - TODO
csv() is unexpectedly restrictive, and non-streaming.
It would be nice if the following would work, and processed records one at a time instead of slurping the whole file.
use Text::CSV_XS qw( csv ); csv( in => "a.csv", out => "b.csv", ... );
It does suggest how the call could be rewritten so the above works (nice), but it loads the entire file.
Honestly, I just want jq to support CSV :) (It can generate it, but not read it.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: The future of Text::CSV_XS - TODO
by Tux (Canon) on Dec 19, 2024 at 17:38 UTC | |
by ikegami (Patriarch) on Dec 19, 2024 at 20:40 UTC | |
by Tux (Canon) on Dec 27, 2024 at 09:29 UTC | |
by ikegami (Patriarch) on Dec 19, 2024 at 20:09 UTC |