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+ <https://www.gnu.org/licenses/agpl-3.0.txt> # 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 <[email protected]> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> # 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 = <<EOF; # the following should fit w/o scrolling in 80x24 term:
