good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^5: Syntax checking without BEGIN blocksby adrianh (Chancellor) |
on May 02, 2006 at 10:59 UTC ( [id://546861]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|