So, my $zip = Archive::Zip->new($file) or die "$file cannot be opened by zip\n" should do. The barfed bunch are not errors but warnings.If a filename argument is passed and the read fails for any reason, new will return undef.my $zip = Archive::Zip->new( 'xyz.zip' );
In reply to Re: Checking if a file is present in a ZIP archive
by choroba
in thread Checking if a file is present in a ZIP archive
by bontchev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |