[dancer-users] Useless error message

Stefan Hornburg (Racke) racke at linuxia.de
Mon Jun 3 19:32:47 BST 2013


On 06/03/2013 08:24 PM, gvim wrote:
> 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.
> 

I would help if you post your source code for your Dancer application.

Regards
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the dancer-users mailing list