in reply to Error "'exists ^0^' has chars not alphanumeric or underscore in perl"
choroba is correct. I managed to see the % in the SQL string and had a knee-jerk reaction.
The problem is that you're trying to interpolate variables into SQL rather than using placeholders. Read up on placeholders in DBI and convert your code to use them. It'll simplify things for you, make your code more robust, and prevent odd SQL syntax problems.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error "'exists ^0^' has chars not alphanumeric or underscore in perl"
by choroba (Cardinal) on Jan 25, 2013 at 12:07 UTC |