in reply to Using Archive::Zip reading from IO::String results in a seek error

Does this look like a bug in Archive::Zip or am I doing something wrong?

Sounds like you're reusing an IO::String that has been closed

Use  open my($fh), '<', \$string

OTOH, IO::String has been obsolete since perl5.8

  • Comment on Re: Using Archive::Zip reading from IO::String results in a seek error
  • Download Code

Replies are listed 'Best First'.
Re^2: Using Archive::Zip reading from IO::String results in a seek error
by Pickwick (Beadle) on Aug 18, 2013 at 08:38 UTC
    Sounds like you're reusing an IO::String that has been closed

    Of course I do, that's what I already know and have written. ;-) The problem is that Archive::Zip::read is closing the handle and I would like to know if this is a bug or not. It looks like a bug to me, read should only close handles it opened itself.