in reply to Re^2: unable to extract same file twice using Archive::Zip
in thread unable to extract same file twice using Archive::Zip

I stand corrected re the multiple extractions. Your simplified code does attempt to do so.

re 'error messages' however, I still don't see them. Executing perldoc Archive::Zip will tell you:

ERROR CODES Many of the methods in Archive::Zip return error codes. These are implemented as inline subroutines, using the "use constant" pragma +. They can be imported into your namespace using the ":ERROR_CODES" tag: use Archive::Zip qw( :ERROR_CODES ); ... unless ( $zip->read( 'myfile.zip' ) == AZ_OK ) { die "whoops!"; } AZ_OK (0) Everything is fine. AZ_STREAM_END (1) The read stream (or central directory) ended normally. AZ_ERROR (2) There was some generic kind of error. AZ_FORMAT_ERROR (3) There is a format error in a ZIP file being read. AZ_IO_ERROR (4) There was an IO error.

The only one of these you cite is "AZ_STREAM_END" which does NOT indicate an error; far less, what kind of error.

However, attempting to execute you alternate code (under w2k with A::Z v130 on perl 5.8 with strict and warnings; do you use these pragmas?) does pop up a message:

Can't locate object method "extractToFileNames" via package "Archive::Zip::ZipFileMember" at 848152.pl line 13.

And the meaning of your reply re suspecting the module boils down to interpretation of the wink? Perhaps you should consult the author, Adam Kennedy... but with better evidence than a wink.