in reply to Optimizing an autobundle?

No official way :)

I imagine something something like CPAN::Dependency - Analyzes CPAN modules and generates their dependency tree

Or scrape http://deps.cpantesters.org//https://github.com/DrHyde/CPANdeps