in reply to MySQL Blob / DBI quote ?

In your code, just before the line that causes the error, do this:

DBI->trace(2);

And after the troublesome SQL is executed, do this:

DBI->trace(0);

This will allow you to see (on STDERR) what SQL and parameters are being passed to the database.

Also, you usually don't need quote() if you're using placeholders. (You are using placeholders, right? Right?)

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated