diff --git a/lib/LasTres/Redis.pm b/lib/LasTres/Redis.pm index d6e6dcf..e444c75 100644 --- a/lib/LasTres/Redis.pm +++ b/lib/LasTres/Redis.pm @@ -13,8 +13,8 @@ use LasTres::Schema; our $VERSION = $LasTres::Schema::VERSION; { + my $self; sub new { - my $self; my $class = shift; if (!defined $self) { $self = $class->SUPER::new(@_);