I've just uploaded CPAN::FindDependencies version 2 to the CPAN. This is pretty much a complete re-write which has lots of cool new Stuff:
* uses Parse::CPAN::Packages instead of CPAN.pm, so loads faster and takes a lot less memory; * much better core module detection; * user can specify which version of perl to use when figuring out what's in core; * can cache META.yml files and use a local 02packages file instead of fetching it from a CPAN mirror at startup; * add 'maxdepth' parameter to limit how far down the dependency tree it goes; * much better tests; * 'cpandeps' script is now documented Why am I telling you this? Cos, for the perl-qa folks, this will be the new brane for http://cpandeps.cantrell.org.uk/ soon. For the module-authors list - the bundled 'cpandeps' program is a useful tool for getting an idea of how much extra code gets pulled in when you make your users install a dependency. Re-using code is a Good Thing of course, but taken to extremes it can be a real pain in the arse for those for whom perl is just another environment that they have to support on their machines. -- David Cantrell | Nth greatest programmer in the world