in reply to Re^5: How do I save a Rose::DB::Object instance to Cache::Memcached::Fast and retrieve it?
in thread How do I save a Rose::DB::Object instance to Cache::Memcached::Fast and retrieve it?
Rose::DB::Object is not like a hash or array, so it won't work to simply throw it into memcached directly
I did not suggest that.
I suggested you serialize it, using Storable, as both memcached and Rose::DB have support for Storable, and both modules mention Storable in the documentation.
http://search.cpan.org/dist/Rose-DB/lib/Rose/DB.pm#SERIALIZATION
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: How do I save a Rose::DB::Object instance to Cache::Memcached::Fast and retrieve it?
by PerlOnTheWay (Monk) on Feb 10, 2012 at 12:27 UTC | |
by Anonymous Monk on Feb 10, 2012 at 12:37 UTC | |
by PerlOnTheWay (Monk) on Feb 10, 2012 at 13:31 UTC |