X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage.pm;h=735006c3fc5cc3fe0fc31cee162ccb387a893834;hb=6e73ac255869e7fb3149915fb3fea41cc9507f43;hp=9b3dd72918715b229eb0ea1dc4d684ada9cc848b;hpb=96761eee31cc8dc396c224fe33d7f605982250e4;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage.pm b/lib/DBIx/Class/Storage.pm index 9b3dd72..735006c 100644 --- a/lib/DBIx/Class/Storage.pm +++ b/lib/DBIx/Class/Storage.pm @@ -35,7 +35,8 @@ use overload '"' => sub { sub new { my $class = shift; - return bless {}, $class; + my $self = {}; + return bless $self, $class; } 1;