Is this exactly the code you are running? If so, you probably are missing a 's'
my $t1_rs = $schema->resultset('T1'); $query_rs = $t1_rs->search; while (my $account = $query_rs->next) { print Dumper $account->groupname->name; } # here ---^
since in your table t1 the column is named "groupnames", not "groupname".
In reply to Re: DBI::Class relationship naming
by shmem
in thread DBI::Class relationship naming
by Beatnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |