- or download this
use IO::Uncompress::Unzip qw(unzip $UnzipError);
my $file = '2.zip';
my $inner;
unzip $file, \$inner, Name => '1.zip';
- or download this
my $txt;
unzip \$inner, \$txt, Name => '1.txt';
- or download this
unzip $input => $output
or die "unzip failed: $UnzipError\n";
- or download this
unzip $input => $output, Name => "data1"
or die "unzip failed: $UnzipError\n";