1 package DBICTest::Schema::ResultSet::Artist;
4 use Method::Signatures::Simple;
5 extends 'DBICTest::Schema::ResultSet';
7 method with_substr () {
8 foreach my $row ($self->all) {
9 my $substr = substr($row->name, 0, 3);
10 $self->add_row_info(row => $row, info => { substr => $substr });