From 769980473c998566c038744a72804e4d38d2b8cc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Jan 2023 11:51:39 +0000 Subject: [PATCH] qspawn: use Perl 5.12 and rely on `perl -w' for warnings Another step towards making our startup performance faster. --- lib/PublicInbox/Qspawn.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index f2beb4b2..c2d8fd73 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -25,8 +25,7 @@ # processes such as git-apply(1). package PublicInbox::Qspawn; -use strict; -use v5.10.1; +use v5.12; use PublicInbox::Spawn qw(popen_rd); use PublicInbox::GzipFilter; @@ -332,8 +331,7 @@ sub psgi_return { } package PublicInbox::Qspawn::Limiter; -use strict; -use warnings; +use v5.12; sub new { my ($class, $max) = @_; -- 2.44.0