Index: tools/hook-scripts/commit-access-control.pl.in
===================================================================
--- tools/hook-scripts/commit-access-control.pl.in	(revision 8695)
+++ tools/hook-scripts/commit-access-control.pl.in	(working copy)
@@ -27,14 +27,8 @@
 # history and logs, available at http://subversion.tigris.org/.
 # ====================================================================
 
-# The warning switch is set here and not in the shebang line above
-# with /usr/bin/env because env will try to find the binary named
-# 'perl -w', which won't work.
-BEGIN
-  {
-    $^W = 1;
-  }
-
+require 5.6.1;  #  minimum Perl version for "warnings" module
+use warnings;
 use strict;
 use Carp;
 use Config::IniFiles 2.27;
Index: tools/hook-scripts/propchange-email.pl.in
===================================================================
--- tools/hook-scripts/propchange-email.pl.in	(revision 8695)
+++ tools/hook-scripts/propchange-email.pl.in	(working copy)
@@ -27,14 +27,8 @@
 # history and logs, available at http://subversion.tigris.org/.
 # ====================================================================
 
-# The warning switch is set here and not in the shebang line above
-# with /usr/bin/env because env will try to find the binary named
-# 'perl -w', which won't work.
-BEGIN
-  {
-    $^W = 1;
-  }
-
+require 5.6.1;  #  minimum Perl version for "warnings" module
+use warnings;
 use strict;
 use Carp;
 use Cwd 'abs_path';
Index: tools/hook-scripts/commit-email.pl.in
===================================================================
--- tools/hook-scripts/commit-email.pl.in	(revision 8695)
+++ tools/hook-scripts/commit-email.pl.in	(working copy)
@@ -26,14 +26,8 @@
 # history and logs, available at http://subversion.tigris.org/.
 # ====================================================================
 
-# The warning switch is set here and not in the shebang line above
-# with /usr/bin/env because env will try to find the binary named
-# 'perl -w', which won't work.
-BEGIN
-  {
-    $^W = 1;
-  }
-
+require 5.6.1;  #  minimum Perl version for "warnings" module
+use warnings;
 use strict;
 use Carp;
 


