e warnings;
our $VERSION = '1.03';
use Carp qw(croak);
use JSON;
use Scalar::Util qw(reftype);
use RedisDB;
use Try::Tiny;
my $json = JSON->new->utf8->allow_nonref;
sub TIEHASH {
my ($self, $ad
key);
return $val && $json->decode($val);
}
sub STORE {
my ($self, $key, $val) = @_;
my $redis = $self->{REDIS};
$redis->hset($self->{WHERE}, $key, $json->encode($val));
if (my