http://qs321.pair.com?node_id=505493


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

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.";