Perl can check the syntax using "-c" option.
perl -c script.pl
Are you surprised to hear that Perl has syntax checking?
This means Perl is not interpreter language line by line.
Young people maybe don't know this because there is not the correct knowledge of Perl and appropriate interest to Perl.
Top comments (2)
That's extremely useful! Though most people will use a pluggin, it's good to know you cab do this on your own.
You are welcome!