https://github.com/cosimo/perl6-cache-memcached
Port of Cache::Memcached from Perl 5 to Perl 6
https://github.com/cosimo/perl6-cache-memcached
Last synced: 10 months ago
JSON representation
Port of Cache::Memcached from Perl 5 to Perl 6
- Host: GitHub
- URL: https://github.com/cosimo/perl6-cache-memcached
- Owner: cosimo
- Created: 2010-07-30T06:23:54.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T21:57:39.000Z (over 7 years ago)
- Last Synced: 2025-04-09T21:49:59.912Z (about 1 year ago)
- Language: Perl 6
- Homepage:
- Size: 116 KB
- Stars: 5
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cache::Memcached [](https://travis-ci.org/cosimo/perl6-cache-memcached)
Perl6 client for [memcached](http://www.danga.com/memcached/) a distributed
caching daemon.
## Synopsis
```perl6
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:
```perl6
use Cache::Memcached;
my $memd = Cache::Memcached.new;
$memd = "Some value";
say $memd;
$memd:delete;
```
## Description
This provides an interface to the [memcached](http://www.danga.com/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