SQL::Translator::Schema::Object - Base class for SQL::Translator schema objects
package SQL::Translator::Schema::Foo; use Moo; extends 'SQL::Translator::Schema::Object';
Base class for Schema objects. A Moo class consuming the following roles.
Provides $obj->error, similar to Class::Base.
$obj->error
Removes undefined constructor arguments, for backwards compatibility.
Provides an extra attribute storing a hashref of arbitrary data.
extra
Provides an $obj->equals($other) method for testing object equality.
$obj->equals($other)
To install SQL::Translator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SQL::Translator
CPAN shell
perl -MCPAN -e shell install SQL::Translator
For more information on module installation, please visit the detailed CPAN module installation guide.