<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br><br></div>Looking for some general advice on separating code/code bases easily with Dancer.<br></div>I'm using Dancer on a fairly large project (relatively speaking) and it is getting to >2000 lines of code so far. The end product could be in the order of 3000 lines. This is all one product.<br><br></div>Another one I'm working on is going to be several different products in one is about 500 lines but is soon going to be at least twice that when I add some stuff in.<br><br></div>What is the best way to separate these code bases into separate files?<br></div>I want to keep the same 'instance' of Dancer, which is currently running under Ubuntu and Windows Plackup respectively and running well.<br><br></div><div>I could just link another pm file into the main .pm file, would that be enough?<br></div><div>so I have lib/DancerWebsite.pm and then I just add another .pm file in that directory and load classes from that?<br><br></div><div><br></div>Thanks,<br><br></div>David<br></div>