in reply to Re^5: Question on IO::UnCompress::GunZip...
in thread Question on IO::UnCompress::GunZip...
Also, although zip isn't designed for being streamed, it is still possible to stream from a zip file. So say you have a zip file "my.zip" and you want to stream the member "abc.txt", this will do it
use IO::Uncompress::Unzip qw( $UnzipError); my $unzip = new IO::Uncompress::Unzip "my.zip", Name => "abc.txt" or die "Cannot open my.zip[abc.txt]: $UnzipError\n"; while <($unzip>) { ... }
|
|---|