Keep It Simple, Stupid | |
PerlMonks |
Re: Database Update or Insertby asdfgroup (Beadle) |
on Apr 26, 2002 at 18:53 UTC ( [id://162368]=note: print w/replies, xml ) | Need Help?? |
Also mysql will return count as '0E0', so you check (!'0E0') will be always false. it should looks like unless ($sth->execute()+0) {....
In Section
Cool Uses for Perl
|
|