X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSourceHandle.pm;h=690fe2117952e7dd6d0483f0c13151848ca2b148;hp=0c7e4dbe77f4cd9ac4fb878cca889e99901c5570;hb=3b80fa31b60050d4c8df91457ba6fd51b579a7a6;hpb=87bf71d54c0e5bd50700d8e3be59b79e9b670012 diff --git a/lib/DBIx/Class/ResultSourceHandle.pm b/lib/DBIx/Class/ResultSourceHandle.pm index 0c7e4db..690fe21 100644 --- a/lib/DBIx/Class/ResultSourceHandle.pm +++ b/lib/DBIx/Class/ResultSourceHandle.pm @@ -5,7 +5,6 @@ use warnings; use base qw/DBIx::Class/; -use Storable qw/nfreeze thaw/; use DBIx::Class::Exception; use Try::Tiny; @@ -93,7 +92,7 @@ sub STORABLE_freeze { : $self->{_detached_source}->result_class ; - nfreeze($to_serialize); + Storable::nfreeze($to_serialize); } =head2 STORABLE_thaw @@ -106,7 +105,7 @@ C<< $schema->thaw($ice) >> which handles this for you. sub STORABLE_thaw { my ($self, $cloning, $ice) = @_; - %$self = %{ thaw($ice) }; + %$self = %{ Storable::thaw($ice) }; my $from_class = delete $self->{_frozen_from_class};