Perl6 client for memcached a distributed caching daemon.
use Cache::Memcached; my $memd = Cache::Memcached.new; $memd.set("my_key", "Some value"); $memd.incr("key"); $memd.decr("key"); $memd.incr("key", 2);
This provides an interface to the memcached daemon. You will need to have access to a memcached server to be able to use it.
Currently there is no support for compression or the serialization of structured objects (though both could be provided by the agency of external modules.)
Assuming you have a working perl6 installation you should be able to install this with zef :
# From the source directory zef install . # Remote installation zef install Cache::Memcached
Or panda if you prefer :
# From the source directory panda install . # Remote installation panda install Cache::Memcached
There should be no reason that it won't work with any new installer that may come along in the future.
Suggestions/patches are welcomed via github at