X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FStorage%2FEngine.pm;h=cae240700703d344ff923d4bc081e12a2f7c934d;hb=95f31c36141c0108605fadf16d9abd9ec8bd63f3;hp=4fd310800bea0dd4eb03769590d3e44df25cb669;hpb=3db8f791960a80cc9fa20b5b558d1dda10191551;p=gitmo%2FMooseX-Storage.git diff --git a/lib/MooseX/Storage/Engine.pm b/lib/MooseX/Storage/Engine.pm index 4fd3108..cae2407 100644 --- a/lib/MooseX/Storage/Engine.pm +++ b/lib/MooseX/Storage/Engine.pm @@ -150,7 +150,7 @@ my %TYPES = ( # otherwise it will affect the # other real version. +{ map { - blessed($_) + blessed($hash->{$_}) ? ($_ => $OBJECT_HANDLERS{collapse}->($hash->{$_})) : ($_ => $hash->{$_}) } keys %$hash }