go ahead... be a heretic | |
PerlMonks |
Re^3: Complex file manipulation challengeby Tux (Canon) |
on Aug 13, 2019 at 18:24 UTC ( [id://11104406]=note: print w/replies, xml ) | Need Help?? |
I did not read the original problem statement :) csv (in => $fh, out => undef, on_in => sub { ... }); supports streaming and does not store in memory (other than the current record. Rewriting my version to do that can be an exercise to the reader. In preparation I found that PerlIO::via::gzip *only* supports open my $fh, ":via(gzip)", "file.gz"; and *not* open my $fh, ">", "file.gz"; binmode $fh, ":via(gzip)"; :( :( Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|