I have a perl script with a single line: exit 0
It properly sets the error level and will pack into an .exe just fine. If I change the exit expr to something other than 0 (e.g.: exit 1), the script runs and sets the error level as expected. However, it will no longer compile: >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. What am I doing wrong?