in reply to PAR pp glob for me on windows?

Looking at pp, it defaults to bundling core modules, plus some of it's own modules. Confirmed with: pp -e "print join qq(\n), @ARGV, '-'x20, map(qq|$_ => $INC{$_}|, sort keys %INC)" -o printargv.exe && printargv.exe * ... which shows a few dozen included modules.

My guess is that either one of the PAR pacakges (or less likely, one of the CORE packages) is automatically globbing for you. I don't see a way to do the opposite of --bundle, other than trying --exclude on each of the elements of %INC until it stops auto-globbing (though that might break things if the culprit is in one of the PAR::* modules). Alternately, maybe --par or --perlscript to package without the standalone binary, and see if running the .par alone does the same (sorry, not enough time for those experiments for now).

Replies are listed 'Best First'.
Re^2: PAR pp glob for me on windows?
by Discipulus (Canon) on Mar 27, 2018 at 20:35 UTC
    Thanks for the insight pryrt,

    I must admit I never used -p nor -P options of pp but if I assume it correctly these version seems to works just as expected ie printing the lone star.

    pp --perlscript -e "print join qq(\n), @ARGV" -o printargv.exe >perl printargv.exe * * # dunno if this is correct.. >par printargv.exe * *

    Sorry but I have no idea about how to deal with par files..

    I really wonder what this imply. Anyway mine was more a curiosity than a problem so do not waste your time investigating if you have not. Thanks anyway.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.