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
Storable hooks silently convert '' to undef #13041
Comments
From Michael.Jacob3@de.ibm.comCreated by DE113631@BROADBRICKIf the serialized form returned by STORABLE_freeze() is the empty string (This may be intended but not documented.) package xyz; use Storable qw(freeze thaw); sub new { sub STORABLE_freeze { sub STORABLE_attach { print $Storable::VERSION, "\n"; # 2.39 $a = [ xyz->new('a'), xyz->new('') ]; $b = freeze($a); thaw($b); # <-- dies here with "Bad data" Perl Info
|
From @jkeenanOn Thu Jun 20 09:31:42 2013, Michael.Jacob3@de.ibm.com wrote:
I can confirm that this also occurs with blead and Storable 2.43. |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Thu, 20 Jun 2013 16:39:49 -0700, jkeenan wrote:
Fixed in my working Storable branch tonyc/127743-cperl-storable-fixes Tony |
From @tonycozOn Thu, 20 Jun 2013 09:31:42 -0700, Michael.Jacob3@de.ibm.com wrote:
The fix for this was merged into blead as 4896813 and released as part of perl 5.28.0. Thanks for the report. Closing. Tony |
@tonycoz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#118551 (status was 'resolved')
Searchable as RT118551$
The text was updated successfully, but these errors were encountered: