AnyEvent-Memcached
view release on metacpan or search on metacpan
# Rget with sorted responce values
$memd->rget( 'fromkey', 'tokey', rv => 'array' cb => sub {
my ($values,$err) = shift;
$err and warn "Get failed: @_";
for (0 .. $#values/2) {
my ($key,$value) = @$values[$_*2,$_*2+1];
}
} );
DESCRIPTION
Asyncronous "memcached/memcachedb" client for AnyEvent framework
NOTICE
There is a notices in Cache::Memcached::AnyEvent related to this module.
They all has been fixed
Prerequisites
We no longer need Object::Event and Devel::Leak::Cb. At all, the
dependency list is like in Cache::Memcached + AnyEvent
Binary protocol
lib/AnyEvent/Memcached.pm view on Meta::CPAN
$memd->rget( 'fromkey', 'tokey', rv => 'array' cb => sub {
my ($values,$err) = shift;
$err and warn "Get failed: @_";
for (0 .. $#values/2) {
my ($key,$value) = @$values[$_*2,$_*2+1];
}
} );
=head1 DESCRIPTION
Asyncronous C<memcached/memcachedb> client for L<AnyEvent> framework
=head1 NOTICE
There is a notices in L<Cache::Memcached::AnyEvent> related to this module. They all has been fixed
=over 4
=item Prerequisites
We no longer need L<Object::Event> and L<Devel::Leak::Cb>. At all, the dependency list is like in L<Cache::Memcached> + L<AnyEvent>
( run in 0.751 second using v1.01-cache-2.11-cpan-df04353d9ac )