Alexander Keusch <cpan@keusch.at>
+alnewkirk: Al Newkirk <we@ana.im>
+
amiri: Amiri Barksdale <amiri@metalabel.com>
amoore: Andrew Moore <amoore@cpan.org>
my $rs = $schema->resultset('CD');
$rs->result_class('DBIx::Class::ResultClass::HashRefInflator');
while (my $hashref = $rs->next) {
- ...
+ ...
+ }
+
+ OR as an attribute:
+
+ my $rs = $schema->resultset('CD')->search({}, {
+ result_class => 'DBIx::Class::ResultClass::HashRefInflator',
+ });
+ while (my $hashref = $rs->next) {
+ ...
}
=head1 DESCRIPTION