Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Do Storable and IO::Zlib like to play together?

by fokat (Deacon)
on Nov 03, 2005 at 19:52 UTC ( [id://505490]=note: print w/replies, xml ) Need Help??


in reply to Re: Do Storable and IO::Zlib like to play together?
in thread Do Storable and IO::Zlib like to play together?

Thanks sauoq.

That's a minimal demonstration of the problem.

Yep. I guess we arrived to the problem quite close. IO::Zlib does not seem to implement fileno. But even after faking it (as shown in my Updated node), there is something else going bad.

(So, you can stop looking at Storable as the real problem, anyway.)

Well, I don't understand why Storable wants to verify that it got a real handle. It should try to do its thing with whatever it got as an argument.

But in this case, this does not look like the cause.

Best regards

-lem, but some call me fokat

  • Comment on Re^2: Do Storable and IO::Zlib like to play together?

Replies are listed 'Best First'.
Re^3: Do Storable and IO::Zlib like to play together?
by sauoq (Abbot) on Nov 03, 2005 at 19:58 UTC
    IO::Zlib does not seem to implement fileno.

    That's not really the problem, I don't think. At least, not the first one. We are never getting out of AUTOLOAD routine (and not because a method is missing.) The problem is that a call to fileno() doesn't play well with the tied handle provided by IO::Zlib.

    It should try to do its thing with whatever it got as an argument.

    That's debatable. I'd be inclined to do it Storable's way.

    -sauoq
    "My two cents aren't worth a dime.";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found