Perl API: missing active check in get?

Brad Fitzpatrick
Mon, 6 Oct 2003 10:45:10 -0700 (PDT)

Doesn't really matter... just a minor optimization for people who don't
actually have memcached machines configured.

In get(), the get_sock() will return undef if there are no servers (which
has the active check...)

On Mon, 6 Oct 2003, Ryan T. Dean wrote:

> I've been pouring over the perl API tonight.  In all of the functions
> that actually do anything with the memcache server (get_multi, delete,
> _set, _incrdect) except get include a check to make sure the client has
> active servers to talk to (return undef unless $self->{'active'};).
> Just a heads up.
> 		-Ryan T. Dean