From the errors you are getting returned it would seem that the values you are coming from your form are not making any sense at all!
I would suggest a close and careful read of SQL::Abstract for that is the module provinding the abstraction. I think it is the 'shape' of your structures that are problematic.