in reply to Re^3: DBD::Sybase $sth->rows returns -1
in thread DBD::Sybase $sth->rows returns -1

For non-select statements you could use

my $rowCount = $dbh->do($statement);

see do

poj