genauso wie Deins, ich mache in Update und zähle die affected rows:
use strict;
use lib '/var/www/vhosts/rolfrost.de/cgi-bin';
use DBI;
use Basic;my $dbh = connMySQL;
my $st = qq(UPDATE spamprot SET zeitstempel = 4);
my $sth=$dbh->prepare($st);
$sth->execute();
my $rows=$sth->rows;
$sth->finish();print "$rows\n"; # und das stimmt ;-)
und zurück kommt in dem Fall "1" :-) oder irre ich mich?