tame1 has asked for the wisdom of the Perl Monks concerning the following question:

Has anyone else had problems from Storable in 5.8.0?

I'm getting very strange messages regarding "the object has already been thawed" when I use thaw. The exact same modules (my own) work fine in 5.6.1

What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"

Replies are listed 'Best First'.
Re: Perl 5.8.0 and Storable
by JayBonci (Curate) on Dec 14, 2002 at 08:51 UTC
    The quick answer is no. I am using stock debian perl:
    #!/usr/bin/perl -w use strict; use Storable; use Data::Dumper; my %junk = map { $_ => rand()} (1..50); my $before = Data::Dumper->Dump([%junk]); my $frozen = Storable::freeze(\%junk); my %thawed = %{Storable::thaw($frozen)}; print "THEY MATCH\n" if $before eq Data::Dumper->Dump([%junk]);
    jaybonci@starlite:~/perl/pm$ perl -v
    
    This is perl, v5.8.0 built for i386-linux-thread-multi
    
    You might want to show us part of what you're trying to do, and then perhaps we can be more specific.

        --jb
Re: Perl 5.8.0 and Storable
by Ryszard (Priest) on Dec 14, 2002 at 08:56 UTC
    I recently upgraded from 5.6.1 to 5.8.0 on redhat 8.0, beside recompiling my modules, there was no pain.
Re: Perl 5.8.0 and Storable
by adrianh (Chancellor) on Dec 14, 2002 at 12:10 UTC

    No problem with Storable with 5.8.0 on Mac OS X.

    Code?