Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

(v3.4.0) Perl: perl

LCD 47 edited this page Dec 13, 2014 · 1 revision

Maintainers:

Security:

This checker runs perl -c against your file, which in turn executes any BEGIN, UNITCHECK, and CHECK blocks, and any use statements in your file (see perlrun). This is probably fine if you wrote the file yourself, but it can be a problem if you're trying to check third party files. If you are 100% willing to let Vim run the code in your file, set g:syntastic_enable_perl_checker to 1 in your vimrc to enable this checker:

let g:syntastic_enable_perl_checker = 1

Checker options:

g:syntastic_perl_interpreter (string; default: 'perl')
The perl interpreter to use.
g:syntastic_perl_lib_path (list; default: [])
List of include directories to be added to the perl command line. Example:
```vim let g:syntastic_perl_lib_path = [ './lib', './lib/auto' ] ```
Clone this wiki locally