-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot restore overloading on HASH with self-ref. structures #12627
Comments
From jens.schmidt35@arcor.deCreated by jens.schmidt35@arcor.deStorable::retrieve fails with the error message: Cannot restore overloading on HASH(0x1409928) (package <unknown>) at /home/jschmidt/lib/perl-latest/lib/5.16.2/x86_64-linux-thread-multi/Storable.pm line 380, at overload-bug.pl line 55. given that the following preconditions are met: - operator overloading is in use Here is the test case, run as "perl overload-bug.pl": ----- snip ----- { use Scalar::Util qw( refaddr ); use overload '==' => \&_equal; sub _equal sub STORABLE_freeze return () if ( $cloning ); my $nvpa = { %{$self} }; } sub STORABLE_thaw return if ( $cloning ); %{$self} = %{$nvpa}; sub new { { Perl Info
|
From @jkeenanOn Mon, 03 Dec 2012 15:28:30 GMT, jeschmid wrote:
Confirming that this problem still exists in perl-5.24.1, Storable version 2.56_01: #####
-- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#115980 (status was 'open')
Searchable as RT115980$
The text was updated successfully, but these errors were encountered: