Subject: | wish: streaming support |
Thanks for this module. It's a nice CGI::App plugin.
My wish for it is streaming support. Potentially supplying $values up
front could be expensive, loading a huge file into memory.
It would be nice to process and print out a row at a time, significantly
reducing the overhead.
One option would be to directly support receiving a DBI statement
handle, and be prepared to fetch one row at a time from that.
A more general solution would accept an interator, that returns a new
row each time it's called, and undef (or something) when done. Perhaps
the DBI case would actually be covered by the general case easily.
I'll consider using this for my next CSV-to-Web project.
Please add a listing for it to the wiki if you haven't already.
Thanks!
Mark