Revert "Fix #1186 - Use -w by default for Perl, which does not execute code"

This reverts commit f5fc746d00.
This commit is contained in:
w0rp
2017-12-02 20:38:28 +00:00
parent 2bd966c5cc
commit acd1260339
3 changed files with 7 additions and 45 deletions

View File

@@ -16,15 +16,11 @@ g:ale_perl_perl_executable *g:ale_perl_perl_executable*
g:ale_perl_perl_options *g:ale_perl_perl_options*
*b:ale_perl_perl_options*
Type: |String|
Default: `'-w -Mwarnings -Ilib'`
Default: `'-c -Mwarnings -Ilib'`
This variable can be changed to alter the command-line arguments to the perl
invocation.
Perl code is checked with `-w` by default, because `-c` can execute
malicious code. You can use the `-c` option at your own risk. See
|g:ale_pattern_options| for changing the option only for specific files.
===============================================================================
perlcritic *ale-perl-perlcritic*