class::dbi and storing/thawing?
Mon, 03 May 2004 15:18:28 -0400
On Mon, 2004-05-03 at 14:37, Ken Burcham wrote:
> So my question, I guess, is about the storing and thawing...
> What sorts of limitations are there?
You can't store things that Storable can't serialize. Class::DBI does a
lot of work with closures, and I'm not sure Storable can handle them.
Try the stuff in the section of Storable's POD about CODE REFs.
The database handle is an issue too, but that's class data so it
probably won't be serialized.
You may want to move this discussion to the Class::DBI list and just
talk about how to make objects safe for Storable in general.