DEV Community

Yuki Kimoto - SPVM Author
Yuki Kimoto - SPVM Author

Posted on

Checking Syntax of Perl

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.

Top comments (2)

Collapse
 
zacharysarette profile image
Zach

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

Collapse
 
yukikimoto profile image
Yuki Kimoto - SPVM Author

You are welcome!