in reply to Re^2: Issues with DBIx::Class
in thread Issues with DBIx::Class

Sorry, I missed a curly brace pair.

for my $result_as_href ( map { { $_->get_columns } } $rs->all ) { # do something with the hash ref }

The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^4: Issues with DBIx::Class
by LittleJack (Beadle) on Mar 25, 2022 at 03:26 UTC

    Thanks for following up! I still find it a little strange that DBIxC doesn't have a built-in method which returns a hash but I guess it's all about being very low level, and if I want an as_hashref() method or any other method like that, I can write my own in a ResultSet.pm