aboutsummaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-08-13 12:43:11 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-08-13 12:43:11 +0200
commit9f3d18d43e3fe4e6987fb4dd09a8760560372dbf (patch)
treebf64b06312ad9d2a4f590c414ecc28c4f8e20054 /process_bug.cgi
parentc19dc4ffe98074bedb780652af581a1f0edb3b2d (diff)
downloadbugs-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar
bugs-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.gz
bugs-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.bz2
bugs-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.xz
bugs-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.zip
Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi16
1 files changed, 3 insertions, 13 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 389ee18d1..bc558682e 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl -T
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -6,20 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
-# Implementation notes for this file:
-#
-# 1) the 'id' form parameter is validated early on, and if it is not a valid
-# bugid an error will be reported, so it is OK for later code to simply check
-# for a defined form 'id' value, and it can assume a valid bugid.
-#
-# 2) If the 'id' form parameter is not defined (after the initial validation),
-# then we are processing multiple bugs, and @idlist will contain the ids.
-#
-# 3) If we are processing just the one id, then it is stored in @idlist for
-# later processing.
-
use 5.10.1;
use strict;
+use warnings;
+
use lib qw(. lib);
use Bugzilla;