Whoops, I've not used get() before but it wouldn't help using fetchrow and returning a HASH
How about:
my $rec = $DB->table('SfP_Composers')->get('Composer_ID', 'HASH', ['Name']);
return $rec->{Name};
}
How about:
Code:
sub { my $rec = $DB->table('SfP_Composers')->get('Composer_ID', 'HASH', ['Name']);
return $rec->{Name};
}