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

I want to use PAR, but I use lots of module. The problem is when I use dos command in windowXP there is not enough space for me to write all the module to be include in the executable. for example if I have 4 module CGI,CCC,CTI,CNN

c:>pp -o hty.exe -M CGI -M CCC -M CTI -M C

There not enough space for me in this example to write the forth module

So how do I solve this, TQ

Replies are listed 'Best First'.
Re: PAR Lib
by clscott (Friar) on Aug 06, 2004 at 13:51 UTC

    Why not write a build script in a batch file or a perl script?

    #!perl my $executable_name = 'hty.exe'; my @modules = qw/ CGI CCC CTI C Class:DBI Tk /; my $command = "pp -o $executable_name " . join '', map { "-M " . $_ } + @modules; `$command`
    --
    Clayton