Microcebus has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I'm on windows and want to use the PAR::Packer but I don't want to include all of the modules installed on my machine. But, if I use the -X command multiple times to exclude all modules I don't need, the command gets too long for the console.

Can anyone help?

Replies are listed 'Best First'.
Re: PAR::Packer command to long
by Anonymous Monk on Sep 20, 2011 at 12:58 UTC

    system 'pp' => qw/-o foo.exe foo.pl /, map("-X$_", @exes ) ...

Re: PAR::Packer command to long
by Anonymous Monk on Sep 20, 2011 at 12:56 UTC
    Maximize the console :-)
      This does not seem to be a problem of console size. The maximum command length is reached long before the console ends