in reply to Syntax Error Checking

Looking at all the responses, using perl -c was the first thing I thought of.

That begs the question though - why doesn't Perl include a built in Syntax::Check module that you could run on either a string or a file that would return some simple success or failure code?

Just wondering :)