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