[dancer-users] Useless error message

gvim gvimrc at gmail.com
Mon Jun 3 19:57:58 BST 2013

> 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?


More information about the dancer-users mailing list