help with stat

Jeremy Reingold jeremy.reingold at amd.com
Wed May 16 16:23:22 UTC 2007


Hi,

I'm having trouble getting output from the stat function. Below is code:

sub stat(){
   
    $result = $mem->stats();
    if(!$result){
        print "Error in receiving stats\n";
    }
    else{
        print "\nStatistics:\n";
        print "$result\n";
    }

}

Output:

Statistics:
HASH(0x824e254)

Help.

Thanks,

--Jeremy




More information about the memcached mailing list