[dancer-users] I would like to present to you my first attempt...

Punter punter at punter.gr
Sat Mar 2 10:58:15 GMT 2013

Allow me to present to you my first attempt at making Dancer2 compatible 
with Plack::Builder. That is, allowing multiple Dancer2 apps to be 
mounted with Plack::Builder:


The above modification (a *very few* lines of code) make Plack::Builder 
able to mount two web different webapps, for example take a look at 
these 2 minimalistic web apps:


It works, until you set both web app classes to "use" a common class 
with another (common between them) route. Then only the first web app 
will load it. Which is not good.

- Punter

More information about the dancer-users mailing list