in reply to escaping the backslash

Consider using DBI's quote() method instead, or, better yet, placeholders.