in reply to Re: Using placeholders in SELECT LIKE %...% statementin thread Using placeholders in SELECT LIKE %...% statement
( my $escaped_this = $this ) =~ s/%/%%/g; $sth->bind_param(1, "%$escaped_this%"); [download]