3 Jun
2013
3 Jun
'13
6:57 p.m.
This - without seeing the code, we're guessing.
However, a quick google for "Cannot bind a reference" suggests it's an error you get from DBI when you mistakenly pass a reference as a bind var when executing a query - so check what vars you're using (whether you're using DBI directly, or using Dancer::Plugin:Database).
My approach has been to keep Dancer code inside the Routes module and out of everything else (so far) so the other modules 'use DBI'. Maybe the price you pay for this approach is less detail in the error messages? gvim