note
Your Mother
<p>Looks like you can just cut and paste the code if you follow the accompanying instructions to set things up. You might get a reply from the author though for an alternative repository.</p>
<p>Feel free to take a stab at it and come back with questions if it’s not working.</p>
<p>Sidenote: I would recommend against–</p>
<code>use base 'DBIx::Class::ResultSet';
sub listall {
my $self = shift;
my @people = $self->all();
return \@people;
}
</code>
<p>Well-behaved resultsets should only return the same because they are expected to be chainable and <c>->all</c> is kind of weirdly redundant so might lead to misunderstandings or over-elaboration of what could be more simple code.</p>
915657
11140637