lib/PublicInbox/Fetch.pm | 3 +--
script/public-inbox-fetch | 3 +--
diff --git a/lib/PublicInbox/Fetch.pm b/lib/PublicInbox/Fetch.pm
index 3dbb0b55953912e1129a566004de0a711595b562..d75e427b0ea92794717364865fee24d9a81c3a25 100644
--- a/lib/PublicInbox/Fetch.pm
+++ b/lib/PublicInbox/Fetch.pm
@@ -2,8 +2,7 @@ # Copyright (C) all contributors
# License: AGPL-3.0+
# Wrapper to "git fetch" remote public-inboxes
package PublicInbox::Fetch;
-use strict;
-use v5.10.1;
+use v5.12;
use parent qw(PublicInbox::IPC);
use URI ();
use PublicInbox::Spawn qw(popen_rd run_die spawn);
diff --git a/script/public-inbox-fetch b/script/public-inbox-fetch
index f9bac4e3f582013824b98d98bde60808cbf61d73..4b991a90614bd449234608780258571b1be237c4 100755
--- a/script/public-inbox-fetch
+++ b/script/public-inbox-fetch
@@ -2,8 +2,7 @@ #!perl -w
# Copyright (C) all contributors
# License: AGPL-3.0+
# Wrapper to git fetch remote public-inboxes
-use strict;
-use v5.10.1;
+use v5.12;
use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev);
my $opt = {};
my $help = <