标签: perl redis hiredis anyevent
我尝试使用设置环境变量失败 AnyEvent::Hiredis
AnyEvent::Hiredis
我在Centos 7上使用redis 4.02
#!/usr/bin/perl use strict; use AnyEvent::Hiredis; my $redis = AnyEvent::Hiredis->new; $redis->command( ['SET', "ABC", 'foo'], sub {});