DBIx::Class::Manual::Troubleshooting - Got a problem? Shoot it.
The DBIX_CLASS_STORAGE_DBI_DEBUG environment variable controls SQL tracing, so to see what is happening try
DBIX_CLASS_STORAGE_DBI_DEBUG
export DBIX_CLASS_STORAGE_DBI_DEBUG=1
Alternatively use the storage-debug> class method:-
storage-
$class->storage->debug(1);
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.