[Dancer-users] Problems loading an app

David Precious davidp at preshweb.co.uk
Tue Apr 27 23:36:14 CEST 2010


On Tuesday 27 April 2010 22:28:30 Juan J. Martínez wrote:
> El mar, 27-04-2010 a las 22:18 +0100, David Precious escribió:
> > [...]
> >
> > On Tuesday 27 April 2010 19:46:13 Juan J. Martínez wrote:
> > > Any comment on this? Should I file a bug report?
> >
> > Yes, if you don't mind, go ahead and raise it at
> > http://github.com/sukria/Dancer/issues - one of us can then investigate
> > in detail as soon as possible.
> 
> Done: http://github.com/sukria/Dancer/issues/issue/66

Nice one, thank you :)

Can you confirm if you have an up-to-date copy of the devel branch of Dancer 
(I'm assuming that's what you're using, as opposed to a release version)?

Looking in lib/Dancer.pm, I see that it attempts to propagate any errors:

163   # we want to propagate loading errors, so don't use ModuleLoader here
164   eval "use $app";                                 
165   die "unable to load application $app : $@" if $@;


-- 
David Precious <davidp at preshweb.co.uk>
http://blog.preshweb.co.uk/    www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin    www.preshweb.co.uk/facebook
www.preshweb.co.uk/identica    www.lyricsbadger.co.uk

  "Programming is like sex. One mistake and you have to support 
  it for the rest of your life". (Michael Sinz)


More information about the Dancer-users mailing list