-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Is the $cnt=dbh->do("delete from mytab") suppose to return the number
rows
> deleted?
> I'm getting something other than a number or string.
What are you getting? '0E0' is zero rows since it equals 0, but is also
true indicating no error. From the docs:
"do"
...
Prepare and execute a single statement. Returns the
number of rows affected or "undef" on error. A return
value of "-1" means the number of rows is not known, not
applicable, or not available.
HTH,
Douglas Wilson