Hello,
My advice: don't use Class::DBI. Writing SQL isn't hard.
With all due respect, this is horrible advice.
And useful database abstraction layers cannot be generalized anyway (as they are dependent on what's being stored anyway).
Sure they can.
Class::DBI isn't a database abstraction layer - it's just syntax.
The words you are reading right now are not really words... they are just a sequence of light and dark pixels. By your reasoning, they aren't useful either. Perhaps not to you. But to me they are.
To the OP: it looks like somehow you're double ->quote()ing your SQL parameters. Regardless of the exact problem, the general problem is your unique and untested way of using Class::DBI instead of Class::DBI itself. Step in to the debugger a level or two and I'm sure the problem will jump right out at you.
Regards,
In reply to Re^2: Class::DBI weirdness sql error
by trwww
in thread Class::DBI weirdness sql error
by vansance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |