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


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

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^4: Syntax checking without BEGIN blocks

Replies are listed 'Best First'.
Re^5: Syntax checking without BEGIN blocks
by adrianh (Chancellor) on May 02, 2006 at 10:59 UTC
    True. However, if the code doesn't pass a basic syntax check, I don't need to waste my time deciphering it. I know it doesn't run. If it is code that's syntactically correct, something might be using it...

    If I'm not worried about the code doing anything dangerous then there is no difference to me between a compile-type error and a run-time error. Both will show up in my test suite.

    If I am worried about the code I'm going to have to understand it - whether it is "syntactically" correct or not.

    A reply falls below the community's threshold of quality. You may see it by logging in.