On Sat, Feb 4, 2012 at 5:17 PM, Adam Kennedy <a...@ali.as> wrote: > That's how Module::Install's requires_from does it too. > > I should look at zilla's code and see how it runs, might be worth > aligning M:I and it's detection.
It uses Ricardo's Perl::PrereqScanner, which does a pretty sane job of it (even detects base/parent and so on). It has some extensions for picking up Moose and POE prereqs and so on. It doesn't help with optional, dynamic prereqs so those have to be specified manually, but that's unavoidable I think. David