I am experimenting my own embedded perl solution with precompile system and I really can catch syntax errors before the code is actually executed. It is also possible to run the script in a "sandbox" to catch runtime warnings.
I think you have to split the process in two phases. Compile an execute to achieve your result. See http://www.perlmonks.org/?parent=821564;node_id=3333 for reference.
In reply to Re: embedded perl: check for compile errors without executing
by AriSoft
in thread embedded perl: check for compile errors without executing
by lorius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |