From b5b4e2de2d6949d588e6521ef25d4a01ab3a878b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 28 Nov 2022 05:32:00 +0000 Subject: [PATCH] fetch: use v5.12 Another tiny step towards improved startup performance by avoiding one .pm file. --- lib/PublicInbox/Fetch.pm | 3 +-- script/public-inbox-fetch | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/PublicInbox/Fetch.pm b/lib/PublicInbox/Fetch.pm index 3dbb0b55..d75e427b 100644 --- a/lib/PublicInbox/Fetch.pm +++ b/lib/PublicInbox/Fetch.pm @@ -2,8 +2,7 @@ # 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 f9bac4e3..4b991a90 100755 --- a/script/public-inbox-fetch +++ b/script/public-inbox-fetch @@ -2,8 +2,7 @@ # 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 = <