The function csv () is streaming! (and well documented as such, see e.g. dumping database tables)
Believe me, I have had the same feeling with file-names as arguments to in and out, and I actually started coding on that, but in the end, you do not want it, as it causes too many undocumantable catch-22's.
csv (in => csv (in => "a.csv, ...), out => "b.csv") is the best alternative and works quite well
My personal fav use of streaming is csv (in => $fh, out => undef, bom => 1, on_in => sub { ... process %_ ... });. If files are really large, this can be used for streaming file to file too using a second handle.
In reply to Re^2: The future of Text::CSV_XS - TODO
by Tux
in thread The future of Text::CSV_XS - TODO
by Tux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |