Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Anonymous Monk
on Aug 18, 2013 at 03:14 UTC ( [id://1049879]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found