in reply to DBI not letting bind varibles in if you use a varible for the statement.
It sounds kind of farfetched, I know. :)
Anyway... try checking for errors on your prepare:
Or turn on RaiseError, if you don't already have it on.$sth = $dbh->prepare($SQL_STATEMENT) or die "Can't prepare $SQL_STATEMENT: ", $dbh->errstr;
I've used this construct many, many times, so I'd say it's definitely something weird in your situation.
|
|---|