Problems with the stats command

Marcel Holan mh at petamem.com
Mon Aug 1 01:20:05 PDT 2005


Hello,

I have problems issuing the stats command in Perl-API. Trying
something like:

my $stats = $memd->stats([qw(misc)]);

for(keys %$stats) {
  print "$_ -> $$stats{$_}\n";
}

The result is:

Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
Use of uninitialized value in addition (+) at
/opt/PM_perl-5.8.6/lib/site_perl/5.8.6/Cache/Memcached.pm line 855.
hosts -> HASH(0x858b78c)
total -> HASH(0x8589e94)

Unfortunately, there is no SYNOPSIS info for the stats command, so I
do not know if I call it correctly. 


-- 
 best regards
  Marcel Holan

 project manager R&D
+----------------------------------------------------------------------------+
 PetaMem s.r.o., Ocelarska 1, 190 00 Praha, Czech Republic - www.petamem.com


More information about the memcached mailing list