Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Redis CPAN distribution.

Report information
The Basics
Id: 66045
Status: rejected
Priority: 0/
Queue: Redis

People
Owner: melo [...] cpan.org
Requestors: alex1line [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: expire
Date: Wed, 23 Feb 2011 00:16:55 +0300
To: bug-redis <bug-redis [...] rt.cpan.org>
From: Alexander Romanenko <alex1line [...] gmail.com>
Hello, Redis supports command Expire for set a key's time to life. Could you implement it?
Hi, its already implemented. Just call $redis->expire('key', $seconds_to_live); or $redis->expireat('key', $epoch); or even $redis->setex('key', $seconds_to_live, 'value'); Redis.pm uses AUTOLOAD to implement most commands so you shouldn't have to upgrade Redis.pm even if new commands are introduced in future versions of Redis. Bye, On Tue Feb 22 16:17:04 2011, alex1line@gmail.com wrote: Show quoted text
> Hello, > Redis supports command Expire for set a key's time to life. > Could you implement it?
-- Hi, how are you?