summaryrefslogtreecommitdiffstats
path: root/contrib/mysqld-watcher.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mysqld-watcher.pl')
-rwxr-xr-xcontrib/mysqld-watcher.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/mysqld-watcher.pl b/contrib/mysqld-watcher.pl
index 08a87b5fe..be93dcbb5 100755
--- a/contrib/mysqld-watcher.pl
+++ b/contrib/mysqld-watcher.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/.
@@ -9,7 +9,9 @@
# mysqld-watcher.pl - a script that watches the running instance of
# mysqld and kills off any long-running SELECTs against the shadow_db
#
+use 5.10.1;
use strict;
+use warnings;
# some configurables: