summaryrefslogtreecommitdiffstats
path: root/contrib/bz_webservice_demo.pl
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 /contrib/bz_webservice_demo.pl
parentc19dc4ffe98074bedb780652af581a1f0edb3b2d (diff)
downloadbugzilla-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.gz
bugzilla-9f3d18d43e3fe4e6987fb4dd09a8760560372dbf.tar.xz
Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen
Diffstat (limited to 'contrib/bz_webservice_demo.pl')
-rwxr-xr-xcontrib/bz_webservice_demo.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/bz_webservice_demo.pl b/contrib/bz_webservice_demo.pl
index 8850d642a..af8c25308 100755
--- a/contrib/bz_webservice_demo.pl
+++ b/contrib/bz_webservice_demo.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# 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/.
@@ -18,7 +18,10 @@ C<bz_webservice_demo.pl --help> for detailed help
=cut
+use 5.10.1;
use strict;
+use warnings;
+
use lib qw(lib);
use Getopt::Long;
use Pod::Usage;