Coat::Persistent::Object - root object for Coat::Persistent models
This class is meant to be a default root object for Coat::Persistent models. It provides through inheritance default attributes (that must exist in the underlying table) and default hooks and methods.
You just have to make your models inherit from Coat::Persistent::Object like the following :
package MyModel; use Coat; use Coat::Persistent; extends 'Coat::Persistent::Object'; 1;
Any model that inherits from this class must wrap a table that owns the following fields:
This module has been written by Alexis Sukrieh <sukria@cpan.org>
To install Coat::Persistent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Coat::Persistent
CPAN shell
perl -MCPAN -e shell install Coat::Persistent
For more information on module installation, please visit the detailed CPAN module installation guide.