Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by polettix (Vicar)
on Nov 03, 2005 at 17:41 UTC ( [id://505459]=note: print w/replies, xml ) Need Help??


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

It will probably shed no light, but in IO::Zlib you can find this:
sub AUTOLOAD { my $self = shift; $AUTOLOAD =~ s/.*:://; $AUTOLOAD =~ tr/a-z/A-Z/; return tied(*{$self})->$AUTOLOAD(@_); # <== line 566 }
I'm no AUTOLOAD expert, but it could be that instead of Storable::fd_retrieve, the interpreter is trying to call $fh->fd_retrieve and AUTOLOAD does the rest. Try to disambiguate explicitly:
$rep = Storable::fd_retrieve($fh);
Hope this can help!

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.

Replies are listed 'Best First'.
Re^2: Do Storable and IO::Zlib like to play together?
by fokat (Deacon) on Nov 03, 2005 at 18:22 UTC

    Yes, I did look at that code. I tried your suggestion but it does not change the outcome. However, I'll take a bigger dig into Storable to see what the XS code is doing...

    Thanks and ++ for your suggestion.

    Best regards

    -lem, but some call me fokat

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found