t/index-git-times.t | 3 +++
xt/eml_check_limits.t | 2 ++
diff --git a/t/index-git-times.t b/t/index-git-times.t
index 8f80c8669363d1892984bfa4487e3c1f779a8135..73c99e61edb1e3445fcc9919e27d3462d1b7bb28 100644
--- a/t/index-git-times.t
+++ b/t/index-git-times.t
@@ -1,5 +1,8 @@
+#!perl -w
# Copyright (C) 2020 all contributors
# License: AGPL-3.0+
+use strict;
+use v5.10.1;
use Test::More;
use PublicInbox::TestCommon;
use PublicInbox::Import;
diff --git a/xt/eml_check_limits.t b/xt/eml_check_limits.t
index cf780c77babaac401b72b6a38eb4925a1bc660c2..9f821946111456b736458480b6d15e309e5277d3 100644
--- a/xt/eml_check_limits.t
+++ b/xt/eml_check_limits.t
@@ -1,6 +1,8 @@
#!perl -w
# Copyright (C) 2020 all contributors
# License: AGPL-3.0+
+use strict;
+use v5.10.1;
use Test::More;
use PublicInbox::TestCommon;
use PublicInbox::Eml;