"Can't bind unknown placeholder" error solved by awful hack

For all the recent versions of RT2 I have been unable to get the auto
responder to work at all (using mod_perl, rather than fast_cgi). I’d
get a nasty-gram from sendmail with this message:

----- Transcript of session follows -----
Can’t bind unknown placeholder ‘9’ at /loc/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Handle.pm line 320, line 10.
554 5.3.0 “|/home/mesarthim/rt2/bin/rt-mailgate --queue general --action correspond”… unknown mailer error 255

----- Original message follows -----

After a lot of digging around, I found out that if you turn debugging
on, the error goes away. Sure enough, when I put this:

    DBI->trace(2, '/dev/null');
    sub SimpleQuery { 

at line 303 of DBIx/SearchBuilder/Handle.pm, the problem goes away.

I have no idea what this means. But it works.

William Annis - System Administrator - Biomedical Computing Group
"When men are inhuman, take care not to feel towards them as they do
towards other humans." Marcus Aurelius VII.65