http://www.perlmonks.org?node_id=546733


in reply to Re^2: Syntax checking without BEGIN blocks
in thread Syntax checking without BEGIN blocks

If you are worred about incompetance or malice, you better visually inspect the module and the Makefile that comes with it (I certainly do). Syntax checking is great for finding bugs during compiling your own code, but don't confuse it with keeping things safe. In fact the safest code is code that fails a syntax check.

Syntax checking can't stop someone from writing syntactically correct, non-BEGIN block, destructive code. All they have to do is bury something like system("rm -rf *") in the module somewhere and you will have lots of fun trying to find out why your system doesn't work.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.