, I have found out that, as oppose to my previous suspicion, it's not the SQL INSERT statements that don't work on my database (SQLite on a FreeBSD server), but actually the DBI fetch routines. Using any of the following subroutines:
after executing a SELECT statement causes the program to exit silently, giving no error messages from RaiseError. Checking
after a fetch statement is impossible since the program exits before getting to the check.