Jan 22, 2013, 6:15 PM
Post #1 of 1
I have a script that will compile unless I use the exit function with an expression other than 0. To test, I created a new script with a single line: "exit 1". I can execute the script which correctly sets the err level to 1 (or any other value I set). However, when using pp to package, this is my result:
pp error with exit 1
>pp -o test4.exe -x test4.pl
Set up gcc environment - 3.4.5 (mingw-vista special r3)
SYSTEM ERROR in executing test4.pl: 256 at C:/Perl/site/lib/Module/ScanDeps.pm line 1302.
I do the same thing with "exit 0" and it works.