in reply to Re^3: problems with class::dbi::sweet
in thread problems with class::dbi::sweet

You actually do touch FastMMap, in new():

MultiDesk::DB->cache( Cache::FastMmap->new( share_file => '/tmp/cdbi', expire_time => 3600) );

My question is: Where is MultiDesk::DB->cache defined?

UPDATE I guess that could be setting the cache for C::DBI::Sweet, but I'm not sure.

meh.

Replies are listed 'Best First'.
Re^5: problems with class::dbi::sweet
by xido (Initiate) on Sep 09, 2008 at 07:58 UTC
    MultiDesk::DB based on Class::DBI::Sweet class. "Cache" defined in them.I'm only initialise FastMmap. all other actions handled by Class::DBI::Sweet.