Anyway use
placeholders see also
What are placeholders in DBI, and why would I want to use them?
You can also be intersted in
DBI recipes and
Tricks with DBI
DBI parameterized database query with comma seperated list offer some other hints.
L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.