shogo82148 / Redis-Fast

fast perl binding for Redis database
https://metacpan.org/release/Redis-Fast
Other
25 stars 21 forks source link

Redis SET with EX/PX NX/XX options #72

Closed 0x62ash closed 7 years ago

0x62ash commented 7 years ago

Hello, Im get error [set] ERR syntax error on $redis->set('test', 123, "EX 2"); Does it means that Redis::Fast doesn support SET options?

PS. Redis-Fast: 0.18 Redis-server: 3.0.6

shogo82148 commented 7 years ago

No, Redis::Fast supports all SET options. I think your code should be $redis->set('test', 123, 'EX', 2);.

0x62ash commented 7 years ago

Stupid me...

And thank you )