PerlOnTheWay has asked for the wisdom of the Perl Monks concerning the following question:
"get" $memd−>get($key); Retrieve the value for a $key. $key should be a scalar. Return: value associated with the $key, or nothing.
If a key doesn't exist, I can nothing.
If it times out, I can nothing either.
How can I distinguish these two different cases after I get nothing from Cache::Memcached::Fast::get ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can Cache::Memcached::Fast distinguish timeout or not existing?
by Khen1950fx (Canon) on Jun 28, 2012 at 16:39 UTC | |
by Anonymous Monk on Jun 29, 2012 at 03:13 UTC | |
by Khen1950fx (Canon) on Jun 29, 2012 at 04:03 UTC |