2 Mar
2013
2 Mar
'13
10:58 a.m.
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: https://github.com/akarelas/Dancer2/commit/8bb4e37365eccc8e4f6dfa388d4dccf5e... 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: http://paste.perldancer.org/3272qupgjyQIq 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