summaryrefslogtreecommitdiff
path: root/lib/Autom4te/Request.pm
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-08-31 11:37:19 -0400
committerZack Weinberg <zackw@panix.com>2020-08-31 13:15:46 -0400
commit41edf99f9515f3f83398428c39d79e11266a5a0d (patch)
tree387ca6e0b18a80eed174d993e76091e80bfe27ee /lib/Autom4te/Request.pm
parentc14739e7c6e5906197b704af91152cbc0a8ab38b (diff)
downloadautoconf-41edf99f9515f3f83398428c39d79e11266a5a0d.tar.gz
Fatalize all warnings in Perl code.
Search-and-replace change ‘use warnings;’ to ‘use warnings FATAL => 'all';’ in all Perl code. Notwithstanding the dire cautions in ‘perldoc warnings’ about this, I think it’s the right call for us. One file was already doing it. No new testsuite failures are observed on Linux with Perl 5.30.3 nor on NetBSD with Perl 5.6.1. * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in * lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm * lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm * lib/Autom4te/Request.pm, lib/Autom4te/XFile.pm: Make all warnings from the Perl interpreter into fatal errors.
Diffstat (limited to 'lib/Autom4te/Request.pm')
-rw-r--r--lib/Autom4te/Request.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Autom4te/Request.pm b/lib/Autom4te/Request.pm
index 0b97615d..b3be33c7 100644
--- a/lib/Autom4te/Request.pm
+++ b/lib/Autom4te/Request.pm
@@ -34,7 +34,7 @@ used in several executables of the Autoconf and Automake packages.
use 5.006;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Carp;
use Class::Struct;