in reply to Using a DBI placeholder
I assume it is because it is in a String, you should try: ...REGEXP ? and then set the value with a ? prepended, e.g.
... $sth->bind_param($x, $value); ... $sth->execute(); [download]
regards, tomte