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

I don't think you tested your example somehow, theres a typo in your method call extractToFileNames() should actually be extractToFileNamed().

Having modifed that, your example works perfectly fine for me on winXP, perl 5.8.8, zip.pm v1.20 - perhaps you've found some sort of regression bug. What versions are you using? And what actually happens when you attempt to extract a member twice? (Maybe paste the console output into a <code></code> block)

BTW, since your example didn't include it, are your using use strict; use warnings;

Replies are listed 'Best First'.
Re^6: unable to extract same file twice using Archive::Zip
by Pickwick (Beadle) on Jul 07, 2010 at 10:21 UTC
    Having modifed that, your example works perfectly fine for me on winXP, perl 5.8.8, zip.pm v1.20

    That's what I wanted to read, thanks. Seems it should work, but it doesn't for me. I have version 1.30 on Perl 5.10.1.1007 on Win Server 2003 R2 SP2.