http://www.perlmonks.org?node_id=1023444


in reply to Re^9: Relational table with perl DBI
in thread Relational table with perl DBI

What does your event-table look like? It seems there is no column named event (even though your original post showed there should be).
Once again, the insert query fails, $inserted_records becomes undef which doesn't quite compare to a number.