Wed Mar 11 09:57:29 2015: Request 102689 was acted upon. Transaction: Correspondence added by dzagas...@gmail.com Queue: PAR-Packer Subject: Re: [rt.cpan.org #102689] Module::ScanDeps isn't effective Broken in: (no value) Severity: Wishlist Owner: Nobody Requestors: z...@cpan.org Status: rejected Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102689 >
Module::ScanDeps also didn't finds all deps, but it adds a lot of garbage, archive size is become 10 Mb vs 5 Mb if I use libextractor. In both cases I need to add deps manually. On 11.03.2015 15:36, Roderich Schupp via RT wrote: > <URL: https://rt.cpan.org/Ticket/Display.html?id=102689 > > > Am 2015-03-11 09:05:28, ZDM schrieb: >> Module::ScanDeps isn't effective. > You probably meant: efficient. > >> Perl::LibExtractor produce much less deps tree. >> >> It use different algorithm - "use package" in separate process and >> parse %INC after - so only really used packages are found. >> >> Also it works much more faster. > ... but it doesn't catch all dependencies either. > > Not that the above approach is also used by Module::ScanDeps if use > the --compile or --execute option. But the results only ADD dependencies > to the ones found during static analysis. > >> It will be useful to add possibility to use Perl::LibExtractor with pp >> or use similar approach to build deps tree. > Code please - if you want to contribute some, add it to a wishlist bug for > PAR::Packer. > > Cheers, Roderich > > >