fixed the remaining bugs in mget
This commit is contained in:
parent
65239eee4d
commit
9569d0c3ab
1 changed files with 3 additions and 2 deletions
|
|
@ -140,8 +140,9 @@ sub mget {
|
|||
$self->getMemcached->mget_into_hashref(\@parsedNames, \%result);
|
||||
my @values = ();
|
||||
foreach my $name (@parsedNames) {
|
||||
next unless ref $result{$name};
|
||||
push @values, ${$result{$name}};
|
||||
my $content = Storable::thaw($result{$name});
|
||||
next unless ref $content;
|
||||
push @values, ${$content};
|
||||
}
|
||||
return \@values;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue