in reply to Perl Syntax check

Barewords which do not otherwise cause a syntax error only give rise to an error when strict 'subs' is in operation, thus you will need to do something like:

perl -Mstrict=subs -c file.pl
I have limited this just to the 'subs' stricture because I don't know anything else about the code that you are accepting.

Of course this might not be what you are asking at all.

/J\