Q: How can Archive::Zip can test the validity of a Zip file?
A:
There are two ready-to-use utilities in the examples directory that can be used to test
file integrity, or that you can use as examples for your own code:
examples/zipcheck.pl shows how to use an attempted extraction to test a file.
####
Archive::Zip::setErrorHandler( sub { warn shift() } );
####
format error: can't find EOCD signature