Thu Jan 28 04:48:39 2016: Request 111455 was acted upon. Transaction: Correspondence added by RSCHUPP Queue: PAR-Packer Subject: unable to use -x and -u with pp Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: slaf...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=111455 >
On 2016-01-27 14:59:36, SLAFFAN wrote: > The patch makes the failure go away. Thanks for testing, will be in the next release. > The used once warnings still remain, but they appear harmless. Yes, essentially we're doing $ perl .../utf8_heavy.pl which produces the same warnings. > Someone at a later date might use -M and want all the associated > dependencies, but that could lead to all sorts of issues in itself. I don't think we're loosing anything here: for "pp -M Foo::Bar ..." we still do - scan Foo/Bar.pm - add any %Preload dependencies of Foo/Bar.pm to the list of dependencies If "-x" was also specified, we still run Foo/Bar.pm (pointless, but harmless except for possible warnings). But we don't: - scan all the %Preload dependencies of Foo/Bar.pm explicitly, but AFAICT Module::ScanDeps will scan them anyway - with "-x" run all the %Preload dependencies of Foo/Bar.pm (even more pointless, and harmful as they might include files that aren't Perl source) Cheers, Roderich