Help for this page

Select Code to Download


  1. or download this
    my $key1 = "Test";
    my $val1 = $cache->read($key1);
    ...
    $cache->write($key1,$val1);
    $val1 = $cache->read($key1);
    print "read key1 count after write: ",$val1->{count},"\n";