Eric Wilhelm <[EMAIL PROTECTED]> writes: > I've found that it is much easier to test and refactor programs which > are not written against the left margin in package main.
You are free to do it like this. > Here's an example of the skeleton which I currently use. Yes, I have several of those as well ;-). Hoewever, it should not be a requirement. We could make it a recommendation. > The distribution would be like: > bin-helloworld/README > bin-helloworld/MANIFEST > bin-helloworld/META.yml > bin-helloworld/Build.PL > bin-helloworld/bin/helloworld > bin-helloworld/t/00-load_bin_helloworld.t Looks nice, although I'd plea for 'application' instead of 'bin'. This is something new, and the association for 'bin' is not neccessarily trivial for everyone. So, one of the first things we'd need is a Application::Starter module (program?) to set up the basic structure. > And yes, we're currently lacking installer support for that. You seem to be rather fluid with Module::Build. Would it be an option to have Application::Starter put a Module::Build derived class in the generated structure to deal with that? > Could most of that happen with qr/[Aa]pp(?:lication)?/ or whatever? > Sure. Would it have the same parallel to bin/? No. As indicated, I'm not sure everyone feels the bin parallel like you and me. So I still opt for Application. -- Johan
