Update: However the documentation on execute in DBI notes that
For a non-SELECT statement, execute returns the number of rows affected, if known. If no rows were affected, then execute returns "0E0", which Perl will treat as 0 but will regard as true. Note that it is not an error for no rows to be affected by a statement.Perhaps you could assign the result of $sth->execute() and check to ensure that something was done
In reply to Re: Eval not working
by Utilitarian
in thread Eval not working
by DooDah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |