]> Sergey Matveev's repositories - public-inbox.git/commitdiff
fetch: use v5.12
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:32:00 +0000 (05:32 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:57 +0000 (23:38 +0000)
Another tiny step towards improved startup performance by
avoiding one .pm file.

lib/PublicInbox/Fetch.pm
script/public-inbox-fetch

index 3dbb0b55953912e1129a566004de0a711595b562..d75e427b0ea92794717364865fee24d9a81c3a25 100644 (file)
@@ -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);
index f9bac4e3f582013824b98d98bde60808cbf61d73..4b991a90614bd449234608780258571b1be237c4 100755 (executable)
@@ -2,8 +2,7 @@
 # Copyright (C) all contributors <meta@public-inbox.org>
 # 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: