in reply to Re^2: Eval not working
in thread Eval not working
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.
|
|---|