Re: Exception from insert cannot be caught

2002-03-23 Thread Vaclav Barta
Ronald J Kimball wrote: > On Sat, Mar 23, 2002 at 01:53:23PM +, Vaclav Barta wrote: > > Using Perl (5.6.1) with DBI (1.20), I can connect to the database > > (with { RaiseError => 1 }) and insert fresh digests without problems; > > The problem is when the inserted digest already is in the data

Re: Exception from insert cannot be caught

2002-03-23 Thread Ronald J Kimball
On Sat, Mar 23, 2002 at 01:53:23PM +, Vaclav Barta wrote: > Using Perl (5.6.1) with DBI (1.20), I can connect to the database > (with { RaiseError => 1 }) and insert fresh digests without problems; > the function doing that is > > sub remembered > { > my $digest = shift; > > # my @

Exception from insert cannot be caught

2002-03-23 Thread Vaclav Barta
Hi, I'd like to have a simple script filtering out duplicates from e-mail coming to my Linux box - basically, storing message digests in a database and drop those which are already there. So, I made a database in my MySQL installation (version 3.22.32) with one table: create table refine(digest