summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ale-perl.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt
index 414856bd..0a4adfff 100644
--- a/doc/ale-perl.txt
+++ b/doc/ale-perl.txt
@@ -3,6 +3,9 @@ ALE Perl Integration *ale-perl-options*
ALE offers a few ways to check Perl code. Checking code with `perl` is
disabled by default, as `perl` code cannot be checked without executing it.
+Specifically, we use the `-c` flag to see if `perl` code compiles. This does
+not execute all of the code in a file, but it does run `BEGIN` and `CHECK`
+blocks. See `perl --help` and https://stackoverflow.com/a/12908487/406224
See |g:ale_linters|.