- or download this
sub getnew {
my ($self) = @_;
$self->dbs->query($self->getnewsql)->hashes;
}
- or download this
package Local::GetDataTable;
...
};
1;
- or download this
override '_build_getnewsql' => sub {
my ($self) = @_;
my $sql = super();
$sql .= sprintf "AND location = %d", $self->location;
};