[dancer-users] Useless error message

gvim gvimrc at gmail.com
Mon Jun 3 19:24:31 BST 2013


I have a Dancer app with a registration form and a database. Testing 
produces this error message:

Cannot bind a reference

Stack
main in astro/app/bin/app.pl l. 7
Dancer in /sw/lib/perl5/site_perl/5.16.2/Dancer.pm l. 480
Dancer::Handler in /sw/lib/perl5/site_perl/5.16.2/Dancer/Handler.pm l. 207
Dancer::Handler::Standalone in 
/sw/lib/perl5/site_perl/5.16.2/Dancer/Handler/Standalone.pm l. 36
HTTP::Server::Simple in 
/sw/lib/perl5/site_perl/5.16.2/HTTP/Server/Simple.pm l. 271
HTTP::Server::Simple in 
/sw/lib/perl5/site_perl/5.16.2/HTTP/Server/Simple.pm l. 307
HTTP::Server::Simple in 
/sw/lib/perl5/site_perl/5.16.2/HTTP/Server/Simple.pm l. 402
HTTP::Server::Simple::PSGI in 
/sw/lib/perl5/site_perl/5.16.2/HTTP/Server/Simple/PSGI.pm l. 103
HTTP::Server::Simple::PSGI in 
/sw/lib/perl5/site_perl/5.16.2/HTTP/Server/Simple/PSGI.pm l. 103
Dancer::Handler in /sw/lib/perl5/site_perl/5.16.2/Dancer/Handler.pm l. 123
Dancer::Handler in /sw/lib/perl5/site_perl/5.16.2/Dancer/Handler.pm l. 76
Dancer::Handler in /sw/lib/perl5/site_perl/5.16.2/Dancer/Handler.pm l. 113
Try::Tiny in /sw/lib/perl5/site_perl/5.16.2/Try/Tiny.pm l. 100
Dancer::Exception in /sw/lib/perl5/site_perl/5.16.2/Dancer/Exception.pm 
l. 47
Dancer::Exception in /sw/lib/perl5/site_perl/5.16.2/Dancer/Exception.pm 
l. 35
Dancer::Handler in /sw/lib/perl5/site_perl/5.16.2/Dancer/Handler.pm l. 107
Dancer::Object in /sw/lib/perl5/site_perl/5.16.2/Dancer/Object.pm l. 16
Dancer::Error in /sw/lib/perl5/site_perl/5.16.2/Dancer/Error.pm l. 38
Dancer::Error in /sw/lib/perl5/site_perl/5.16.2/Dancer/Error.pm l. 284

Nothing under Stack relates to the code I've written so all I have to go 
on is "Cannot bind a reference". Not much detail there, either.

gvim


More information about the dancer-users mailing list