Because does not directly check the type of the field in the SQL statement against the type of the field in the table, it does not KNOW the type, but simply guesses by a heuristic whether data items should be quoted.
The only way to insure proper quoting of data via DBI is to call bind_param with a set of hints about field types.
In reply to Reliability of quoting via DBI placeholders by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |