Cross-client memcached compatibility

Larry Leszczynski larryl at emailplus.org
Sun Feb 3 18:23:21 UTC 2008


On Sun, 3 Feb 2008, Tomash Brechko wrote:

> On Sun, Feb 03, 2008 at 10:00:18 -0700, Larry Leszczynski wrote:
>> Not sure I understand - what if $data is an array ref, where I expect
>> the whole thing to get serialized?  I.e. how would the hook
>> distinguish $data which is an array ref I want entirely serialized vs
>> $data which is an array ref where one element of the array is a
>> serialization method?
>
> It will not.  I wrote there that the hook will be written so that it
> expects two elem array, where first item is data, and last item is a
> flag.  Always.

Got it, that makes sense.  Thanks!

Larry



More information about the memcached mailing list