Junya Kondo > DBIx-MoCo > DBIx::MoCo::Cache

Download:
DBIx-MoCo-0.18.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

DBIx::MoCo::Cache - Simple Cache for DBIx::MoCo

SYNOPSIS ^

  my $c = DBIx::MoCo::Cache->new;
  my $u = User->new(user_id => '123');
  my $oid = $u->object_id;
  $c->set($oid, $u);
  my $o = $c->get($oid); # $o is $u
  $c->remove($oid); # flush

SEE ALSO ^

DBIx::MoCo, Cache

AUTHOR ^

Junya Kondo, <jkondo@hatena.com>

COPYRIGHT AND LICENSE ^

Copyright (C) Hatena Inc. All Rights Reserved.

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: