DBIx::Class::ResultClass::HashRefInflator
my $rs = $schema->resultset('CD'); $rs->result_class('DBIx::Class::ResultClass::HashRefInflator');
DBIx::Class is not built for speed: it's built for convenience and ease of use. But sometimes you just need to get the data, and skip the fancy objects. That is what this class provides.
There are two ways of using this class.
Specify $rs->result_class on a specific resultset to affect only that resultser (and any chained off of it); or
$rs->result_class
Specify __PACKAGE__->result_class on your source object to force all uses of that result source to be inflated to hash-refs - this approach is not recomended
__PACKAGE__->result_class
Inflates the result and prefetched data into a hash-ref using mk_hash.
This does all the work of inflating the (pre)fetched data.
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.