in reply to Re^3: Checking if a file is present in a ZIP archive
in thread Checking if a file is present in a ZIP archive

Thanks!

OK, problem solved. The trick was to suppress the error reporting from the package with

Archive::Zip::setErrorHandler (sub { });

before trying to process the file, as they do in this example (well, almost, they still print the first warning there, but the idea was clear). Then just skip the file, if the attempt to read it does not return AZ_OK.