Found in nph-build something like:
last unless $sth->rows;
while (my $link = $sth->fetchrow_hashref) {
...
}
Maybe this will show me the way ...
Code:
my $sth = $rel->select('Links.*', @cat_cols, 'CategoryID' => $cond); last unless $sth->rows;
while (my $link = $sth->fetchrow_hashref) {
...
}
Maybe this will show me the way ...