DEV Community

Yuki Kimoto
Yuki Kimoto

Posted on

Checking Syntax of Perl

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

perl -c
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.

Discussion (2)

zacharysarette profile image

That's extremely useful! Though most people will use a pluggin, it's good to know you cab do this on your own.

yukikimoto profile image
Yuki Kimoto Author

You are welcome!