Use the OO Interface, for example:
my $z = IO::Uncompress::Unzip->new($input, AutoClose=>1) or die "IO::Uncompress::Unzip failed: $UnzipError\n"; while (<$z>) { # ... }
In reply to Re: Unzip file to scalar, treat scalar as a file
by Anonymous Monk
in thread Unzip file to scalar, treat scalar as a file
by bwilli27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |