Subject: | Bug in version 0.22 |
Date: | Wed, 23 May 2012 17:01:20 -0500 |
To: | bug-Cache-Memcached-Managed [...] rt.cpan.org |
From: | James M <mess1214 [...] gmail.com> |
I recently upgraded from a few versions back (I believe 0.20) I noticed that there is a bug on line 124 in Managed.pm.
I believe the line should read $type eq 'ARRAY' (not 'HASH').
This was causing fatal error when I was running this code (which worked fine in earlier version):
my @servers = ($server_1, $server_2);
Cache::Memcached::Managed->new(
data =>
{servers => [@servers], compress_threshold => $args{compress_threshold}},
directory =>
{servers => [@servers], compress_threshold => $args{compress_threshold}}
);