X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSerialize%2FStorable.pm;h=9ba4f6d257f50f474df46b55344c81127b752f51;hb=26148d36e66d7f7c67863cea8d6501739b765692;hp=d1658620f9f29bb7fc3dda031a6a229769630693;hpb=7cfda9a6b80a051ffd5b180c4d34b66eae0de38d;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Serialize/Storable.pm b/lib/DBIx/Class/Serialize/Storable.pm index d165862..9ba4f6d 100644 --- a/lib/DBIx/Class/Serialize/Storable.pm +++ b/lib/DBIx/Class/Serialize/Storable.pm @@ -11,15 +11,10 @@ sub STORABLE_freeze { # reattached in the thaw handler below delete $to_serialize->{result_source}; - # If the parser is cached there is a chance that the interpeter - # which receives the ice will not have the parser loaded - # A re-determination will force an implicit load - delete $to_serialize->{__datetime_parser}; - # Dynamic values, easy to recalculate delete $to_serialize->{$_} for qw/related_resultsets _inflated_column/; - return (Storable::freeze($to_serialize)); + return (Storable::nfreeze($to_serialize)); } sub STORABLE_thaw { @@ -38,7 +33,7 @@ __END__ =head1 NAME - DBIx::Class::Serialize::Storable - hooks for Storable freeze/thaw + DBIx::Class::Serialize::Storable - hooks for Storable nfreeze/thaw =head1 SYNOPSIS