Exactly.
Your query might successfully update every record in the table, or only one, or none at all, but it ran successfully. The number of rows affected is provided by:
print 'The query updated '. $sth->rows . " rows.\n";
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re^3: Eval not working
by TomDLux
in thread Eval not working
by DooDah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |