in reply to Perl + DBI + mysql - Escaping Strings
But I think you need to explain a bit more what you're trying to achieve.