[Dbix-class] Storable freeze/thaw on a column?

Mike Friedman friedo at friedo.com
Sun Nov 26 04:37:59 GMT 2006


I'm looking at the docs for DBIx::Class::Serialize::Storable (

The Synopsis refers to some mysterious thing called $cache; what is that?
All I want to do is automatically freeze and thaw a Storable blob in one
column of a table. I gather I need to write a pair of methods to hook
STORABLE_freeze and STORABLE_thaw, but I can't seem to find out how to write
these or what parameters to expect, etc.

Any help will be rewarded with a doc patch. :)



P.S. What exactly is the difference between D::C::Serialize and
D::C::InflateColumn? For example, I noticed D::C::InflateColumn::DateTime
which I'm planning to use also and which seems to do roughly the same thing,
except for DateTime objects instead of Storable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20061125/0c9=

More information about the Dbix-class mailing list