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:
I have limited this just to the 'subs' stricture because I don't know anything else about the code that you are accepting.perl -Mstrict=subs -c file.pl
Of course this might not be what you are asking at all.
/J\
In reply to Re: Perl Syntax check
by gellyfish
in thread Perl Syntax check
by alandev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |