Checking Syntax of Perl

Yuki Kimoto - SPVM Author - Apr 14 '22 - - Dev Community

Perl can check the syntax using "-c" option.

perl -c script.pl
Enter fullscreen mode Exit fullscreen mode

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.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .