Detecting syntax errors in a Perl script without running itEditCreated 3/26/2007, updated 5/18/2017perl -c script_to_check.pl See also Detecting syntax errors in a Bash script without running it Detecting syntax errors in a PHP script without running it Detecting syntax errors in a Ruby script without running it perlwiki