in reply to place holder error
Have you printed out the SQL? Have you proven (rather than simply believing you know) which field has the :0 value?
You may need to do some sanity-checking before you construct your query...
In Section
Seekers of Perl Wisdom