in reply to Re: Plack middlewares not loaded from Dancer config ( Dancer2 is not Dancer)
in thread [Solved] Plack middlewares not loaded from Dancer config

a simple ack/grep of Dancer and Dancer2 for "middlewares" and "Plack::Builder" shows Dancer2 doesn't try to load them or Builder, you have to use Plack::Builder in your app.psgi, say devapp.psgi ... :)
  • Comment on Re^2: Plack middlewares not loaded from Dancer config ( Dancer2 is not Dancer)

Replies are listed 'Best First'.
Re^3: Plack middlewares not loaded from Dancer config ( Dancer2 is not Dancer)
by mascip (Pilgrim) on Oct 23, 2013 at 07:19 UTC

    Thanks a LOT!

    I was going to try it with a bare Dancer2 app, a few different middlewares, and share the code (which I don't know how to do properly - maybe a dedicated Git repo just for these tests). You've avoided me useless hours of work :-)