Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Hey, sounds interesting. Could you add documentation on the caching behavior (expiration, max size)? Is it possible to use other or mappers than Class::DBI?
    • You can use MoCo singularly because MoCo doesn't use Class::DBI.
      But APIs are similar to Class::DBI.

      MoCo::Cache is simple cache object but doesn't have complicated features such as max size etc..

      You can use Cache::* modules instead of MoCo::Cache.
      please try like this.

      # in your base model class.
      package MyClass;
      base qw(MoCo);
      use Cache::Memory;
      __PACKAGE__->cache_object('Cache::Memory');