anyevent-hiredis:聘请的 AnyEvent 客户端

时间:2021-06-06 10:03:51
【文件属性】:
文件名称:anyevent-hiredis:聘请的 AnyEvent 客户端
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-06 10:03:51
Perl 名称 AnyEvent::Hiredis - AnyEventhiredis API 概要 use AnyEvent::Hiredis; my $redis = AnyEvent::Hiredis->new( host => '127.0.0.1', port => 6379, ); $redis->command( [qw/SET foo bar/], sub { warn "SET!" } ); $redis->command( [qw/GET foo/], sub { my $value = shift } ); $redis->command( [qw/LPUSH listkey value/] ); $redis->command( [qw/LPOP listkey/], sub { my $value = shift } ); # errors $redis-
【文件预览】:
anyevent-hiredis-master
----dist.ini(145B)
----bin()
--------bench.pl(602B)
--------compare.pl(905B)
----README.pod(2KB)
----t()
--------basic.t(2KB)
--------redis.conf.base(4KB)
--------Redis.pm(1KB)
----lib()
--------AnyEvent()

网友评论