Return compiler-error instead of run-error for Python syntax problems.
Add test source for perl compiler error.