in reply to Re: DBD::Sybase $sth->rows returns -1
in thread DBD::Sybase $sth->rows returns -1
You could use
my $rowCount; my $role; while (my @row_18 = $sth18->fetchrow_array) { $role = $row_18[0]; ++$rowCount; }
Are you using the while loop to get the last record of many ?
poj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBD::Sybase $sth->rows returns -1
by Perl300 (Friar) on Jan 06, 2016 at 22:08 UTC | |
by poj (Abbot) on Jan 07, 2016 at 14:07 UTC | |
by hotchiwawa (Scribe) on Jan 07, 2016 at 09:15 UTC |