in reply to Trying to update a database but entries not being inserted

AutoCommit => 0 without ->commit. Your transaction is being rolled back.

By the way, your die calls will never get executed because you have RaiseError => 1.

Replies are listed 'Best First'.
Re^2: Trying to update a database but entries not being inserted
by Quicksilver (Scribe) on Jan 09, 2009 at 15:16 UTC
    Thanks. Thought it was something stupidly simple but not quite that simple.