Perl error checking

Jason Titus
Thu, 26 Feb 2004 15:45:57 -0800

I know this was discussed before, but what do folks currently do to =
determine whether a memcached server is running or not?  It seems like =
the Cache::Memcached->new method should recognize that it is unable to =
connect to one or more servers.

Perhaps it should issue a 'stats' command and verify a response?  I am =
doing that in a script now, but it causes uninitialized value warnings =
from trying to total non-existant hash entries.

I can work on a patch but want to understand what people think makes the =
most sense.