Port of Cache::Memcached from Perl 5 to Perl 6
Switch branches/tags
Clone or download
jonathanstowe Temporarily remove plan
It appears that 'keys' isn't working quite right all the time

Will address in #14
Latest commit a18e25c Sep 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Cache Up the version Sep 29, 2018
t Temporarily remove plan Sep 29, 2018
.gitignore Add .precomp Feb 3, 2016
.travis.yml Fix travis builds Sep 29, 2018
META6.json Up the version Sep 29, 2018
README.md Mention associative Oct 10, 2017

README.md

Cache::Memcached Build Status

Perl6 client for memcached a distributed caching daemon.

Synopsis

  use Cache::Memcached;

  my $memd = Cache::Memcached.new;

  $memd.set("my_key", "Some value");

  $memd.incr("key");
  $memd.decr("key");
  $memd.incr("key", 2);

Or you can use it as an Associative type:

use Cache::Memcached;

my $memd = Cache::Memcached.new;

$memd<my_key> = "Some value";
say $memd<my_key>;
$memd<my_key>:delete;

Description

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.)

Installation

Assuming you have a working Rakudo Perl 6 installation you should be able to install this with zef :

# From the source directory

zef install .

# Remote installation

zef install Cache::Memcached

There should be no reason that it won't work with any new installer that may come along in the future.

Support

Suggestions/patches are welcomed via github at

https://github.com/cosimo/perl6-cache-memcached/issues