Perl API one more question

Brad Fitzpatrick brad@danga.com
Tue, 17 Feb 2004 10:55:02 -0800 (PST)


Documented now in CVS.  That was an oversight.  Thanks!

       "delete"
           $memd->delete($key[, $time]);

           Deletes a key.  You may optionally provide an integer
           time value (in seconds) to tell the memcached server
           to block new writes to this key for that many seconds.
           (Sometimes useful as a hacky means to prevent races.)
           Returns true if key was found and deleted, and false
           otherwise.



On Fri, 13 Feb 2004, Joachim Bauernberger wrote:

> Hi,
>
> the $memd->delete function wasn't mentioned in the perldoc, but I found i=
t
> implemented in Memcached.pm.
>
> Is this cause the docs havn't just haven't been updated, or is there an i=
ssue
> that makes this not officially supported, etc ..?
>
> Thanks & best regards.
> ~/joachim
> --
> Phone: +49 (0) 89 490 267 726
> Fax: +49 (0) 89 490 267 701
> Mobile: +49 (0) 179 674 3611
> mailto: joachim.bauernberger@friendscout24.de =A0 =A0 =A0 =A0
> Web: http://www.friendscout24.de
>
>