summaryrefslogtreecommitdiff
path: root/doc/ale-perl.txt
diff options
context:
space:
mode:
authorOlaf Alders <olaf@wundersolutions.com>2017-05-30 16:07:21 -0400
committerOlaf Alders <olaf@wundersolutions.com>2017-05-30 16:07:21 -0400
commitfa02b1d25975a85a9d976214a5161db48fecc907 (patch)
treeb8967fbad8260a1601ab93c479d54129f1614b04 /doc/ale-perl.txt
parentbc317a7be5e5c9db85b59c6377f3a9b9f034535c (diff)
downloadale-fa02b1d25975a85a9d976214a5161db48fecc907.zip
Remove -X flag from perl defaults.
"-X Disables all warnings regardless of use warnings or $^W". See "perldoc perlrun" or http://perldoc.perl.org/perlrun.html With the current defaults, warnings are squashed. For example: $ perl -X -Mwarnings -c -e'BEGIN { 42 + undef }' -e syntax OK $ perl -Mwarnings -c -e'BEGIN { 42 + undef }' Use of uninitialized value in addition (+) at -e line 1. -e syntax OK So, it's not clear from the current defaults whether Ale wants to remove warnings or enable them. As it stands, it's trying to do both and the disabling appears to win. This commit enables warnings by default.
Diffstat (limited to 'doc/ale-perl.txt')
-rw-r--r--doc/ale-perl.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt
index 7daf48ac..58940ca7 100644
--- a/doc/ale-perl.txt
+++ b/doc/ale-perl.txt
@@ -16,7 +16,7 @@ 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: `'-X -c -Mwarnings -Ilib'`
+ Default: `'-c -Mwarnings -Ilib'`
This variable can be changed to alter the command-line arguments to the perl
invocation.