zakzebrowski has asked for the wisdom of the Perl Monks concerning the following question:
Howdy,
I am writing a bunch of perl applications which I'm using PAR's pp to compile for people that don't have perl installed. (Aside: A simple,small and free web server that works great is tinyweb by ritlabs.) The issue I have is that I have a simple win32 batch file that calls pp multiple times. However, once a single pp command is executed, the script terminates. Any idea how to proceed? (In the example below, index.exe is created, but not index2.exe. If you type the commands at a cmd prompt, index2.exe is built sucessfully...)
Win32 batch file:
Update: Answered by fglock, thanks!
Cheers,
I am writing a bunch of perl applications which I'm using PAR's pp to compile for people that don't have perl installed. (Aside: A simple,small and free web server that works great is tinyweb by ritlabs.) The issue I have is that I have a simple win32 batch file that calls pp multiple times. However, once a single pp command is executed, the script terminates. Any idea how to proceed? (In the example below, index.exe is created, but not index2.exe. If you type the commands at a cmd prompt, index2.exe is built sucessfully...)
Win32 batch file:
BTW, using windows XP service pack 2, activestate perl 5.8.4.pp -o index.exe index.pl -M CGI -M DBI -M DBD::SQLite pp -o index2.exe index2.pl -M CGI -M DBI -M DBD::SQLite
Update: Answered by fglock, thanks!
Cheers,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PAR's pp on a win32 batch file problem
by fglock (Vicar) on Dec 02, 2004 at 15:37 UTC | |
by zakzebrowski (Curate) on Dec 02, 2004 at 15:48 UTC | |
Re: PAR's pp on a win32 batch file problem
by Anonymous Monk on Dec 03, 2004 at 09:13 UTC |
Back to
Seekers of Perl Wisdom