I just noticed you say you're using Dancer2 but you're reading Dancer (Dancer1) documentation -- that can't work well :)
What does the Dancer2 documentation say?
https://metacpan.org/module/SUKRIA/Dancer2-0.10/lib/Dancer2/Cookbook.pod#Plack-middlewares mentions nothing about configuration files -- it probably doesn't work like in Dancer
In reply to Re: Plack middlewares not loaded from Dancer config ( Dancer2 is not Dancer)
by Anonymous Monk
in thread [Solved] Plack middlewares not loaded from Dancer config
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |