From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 030CB203B2 for ; Mon, 28 Nov 2022 05:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1669613566; bh=OLz/tissMJXHg9DsBQt45V83onmLQqVKSqiy17VTGXk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=t0CBS8JbtsQ0K+QBPkTaZT9TTz+4mRg0a8defPHoz9U9u9CS8lV+8314URnbejR3p cGau/Cas7AF1fXCzmC1kRvptCld3eCA9OSQVSmEWAa+b64TbhzI2UlU82aAKBzyvs3 smp6UAB0LQ5MiBW4UN2uorartpTssChWIsYpSCsM= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 63/95] fetch: use v5.12 Date: Mon, 28 Nov 2022 05:32:00 +0000 Message-Id: <20221128053232.291618-64-e@80x24.org> In-Reply-To: <20221128053232.291618-1-e@80x24.org> References: <20221128053232.291618-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 = <