Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Output-XSV CPAN distribution.

Report information
The Basics
Id: 21878
Status: resolved
Priority: 0/
Queue: CGI-Application-Plugin-Output-XSV

People
Owner: ZACKSE [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.9
Fixed in: 0.9_02



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