DBIx::MoCo::Cache - Simple Cache for DBIx::MoCo
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
DBIx::MoCo, Cache
Junya Kondo, <jkondo@hatena.com>
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.
To install DBIx::MoCo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::MoCo
CPAN shell
perl -MCPAN -e shell install DBIx::MoCo
For more information on module installation, please visit the detailed CPAN module installation guide.