The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Cache::Memcached::Tags - Cache::Memcached based client library for memcached-tags: http://code.google.com/p/memcached-tags/

SYNOPSIS

  use Cache::Memcached::Tags;

  $memd = new Cache::Memcached::Tags {
    'servers' => [ "10.0.0.15:11211", "10.0.0.15:11212", "/var/sock/memcached",
                   "10.0.0.17:11211", [ "10.0.0.17:11211", 3 ] ],
  };

  $memd->set("my_key", "Some value");
  $memd->add_tags("my_key", "tag1", "tag2", "tag3");

  $memd->set("my_key2", "Other value", undef, "tag1", "tag2");

  $memd->delete_by_tags("tag1", "tag2");

DESCRIPTION

This is the Perl API for memcached-tags version of memceched More information is available at:

        http://memcached-tags.googlecode.com
        

This module is based on Cache::Memcached, so you can use it as you would use Cache::Memcached plus couple of new methods

METHODS

All Cache::Memcached methods
add_tags

$memd->add_tags($key1, @tags); marks item with tags

delete_by_tags

$memd->delete_by_tags($tag1, $tag2, $tag3, ...); deletes items that were marked by these tags

set

$memd->set($key, $value[, $exptime[, @tags]]); same Cache::Memcached set method, except it accepts tags for the item to mark

COPYRIGHT

This module is Copyright (c) 2009 Eugene Bragin. All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

WARRANTY

This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.

FAQ

See the memcached website: http://www.danga.com/memcached/ And memcached-tags branch: http://code.google.com/p/memcached-tags/

AUTHORS

Eugene Bragin <eugene.bragin+memd@gmail.com>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 132:

You forgot a '=back' before '=head1'