From 7be5d8df1f74b78620167d3abf32ee607e728919 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 13 Apr 2020 11:55:45 -0400 Subject: Use perl warnings pragma consistently We've had a mixture of the warnings pragma, the -w switch on the shebang line, and no warnings at all. This patch removes the -w swicth and add the warnings pragma to all perl sources missing it. It raises the severity of the TestingAndDebugging::RequireUseWarnings perlcritic policy to level 5, so that we catch any future violations. Discussion: https://postgr.es/m/20200412074245.GB623763@rfd.leadboat.com --- src/backend/utils/mb/Unicode/convutils.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/utils/mb/Unicode/convutils.pm') diff --git a/src/backend/utils/mb/Unicode/convutils.pm b/src/backend/utils/mb/Unicode/convutils.pm index 1903b345cbf..2f64a12ea14 100644 --- a/src/backend/utils/mb/Unicode/convutils.pm +++ b/src/backend/utils/mb/Unicode/convutils.pm @@ -6,6 +6,7 @@ package convutils; use strict; +use warnings; use Carp; use Exporter 'import'; -- cgit v1.2.3