And if there are none, e.g. anything can be called, is this safe? What precautions do people use to make sure that code (especially someone else's code) is safe to syntax check?One should realize, due to the nature of Perl, that you in general you cannot do a syntax check and get a useful answer without executing code. And you cannot determine whether you can do a useful syntax check without running code.
Having said that, code I either consider safe, or not safe. If I don't consider it safe, I don't care whether it has syntax errors or not. It's unsafe. I don't want to run it. Period. If code is "safe", it's not more (or less) safe to check its syntax.
In reply to Re: What restrictions are there on code execution when running perl in syntax check mode?
by JavaFan
in thread What restrictions are there on code execution when running perl in syntax check mode?
by ELISHEVA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |