On Wed, Sep 4, 2013 at 9:14 AM, Celogeek San <me@celogeek.com> wrote:
I usually do the opposite

in MyApp I have the Dancer stuff,
in MyApp:: something I have the logical
I also separate the access to the data in another module

So I can test separately each part of my app

I don't think you followed me completely. I can fully test separately each part of my app.

The web logic is under ::Web, the rest is under MyApp or ::API. They are cleanly separated and can be easily tested.