Subject: | $kt->increment problem? |
Date: | Wed, 28 Sep 2011 18:34:43 +0200 |
To: | bug-Cache-KyotoTycoon [...] rt.cpan.org |
From: | Niels Larsen <niels [...] genomics.dk> |
Greetings,
$kt->increment works, but getting the value with get or get_bulk
returns the non-printable "\0\0\0\0\0\0\0^D" (if incremented to 4).
Should get and get_bulk not return the printable value 4 instead?
Second, if $kt->increment is first called on a given key and then
$kt->set is called later on the same key, then this message appears,
Cache::KyotoTycoon unexpected response code: 450 Logical Inconsistency
If increment and set should not be mixed, then perhaps it would be
good to mention in the documentation.
Third, the POD page says "not useful value" in several places
where the code returns 1 on success and 0 on failure.
Best regards,
Niels Larsen
http://genomics.dk