Ignoring Compress::Zlib which could do this in a pipe-like fashion, you could also just pipe from gunzip:
Use less memory, too.open my $fh, "gunzip -c $filename |"; while (<$fh>) { # work with one line at a time here }
In reply to Re: Using ramfs to process files
by Tanktalus
in thread Using ramfs to process files
by jalewis2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |