[CDBI] Does Class::DBI require hash-based objects?

Perrin Harkins perrin at elem.com
Tue Jan 3 18:56:35 GMT 2006

On Tue, 2006-01-03 at 17:17 +0000, Jesse Sookne wrote:
> Does Class::DBI require that its subclasses (application base classes
> as described in the Class::DBI doc) use hash-based objects?

Yes.  It uses direct hash access in internal methods.

Class::DBI is not a general-purpose persistence mechanism for any sort
of classes you may have -- it is a combination of a persistence system
and an OO automation system.  It handles new() and provides accessors
using Class::Accessor. 

- Perrin

More information about the ClassDBI mailing list