Mon Oct 24 18:00:01 2011: Request 71901 was acted upon. Transaction: Correspondence added by RSCHUPP Queue: Module-ScanDeps Subject: scandeps -R finds too much Broken in: 1.04 Severity: (no value) Owner: Nobody Requestors: sre...@cpan.org Status: new Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=71901 >
On 2011-10-24 13:06:59, SREZIC wrote: > ... > I get a large list of dependencies: > > 'Template' => '2.22', > 'Template::Alloy' => '1.016', > 'Template::Alloy::Compile' => 'undef', > (snipped 120 lines) > 'Template::VMethods' => '2.16', > 'Template::View' => '2.91', That's on purpose. Template.pm loads lots of Template/*.pm and Template/Plugin/*.pm modules at runtime that can't be detected by static analysis. So Module::ScanDeps punts and depends on every installed module "below" Template - just to err on the safe side [1]. Template::Alloy is just collateral damage (and really should not have used this name in the Template:: namespace in the first place, but that's the anarchy of CPAN). Cheers, Roderich [1] The primary customers of Module::ScanDeps are PAR and PAR::Packer where the main concern is that we pack in anything that could potentially be loaded by the given script.