]> Sergey Matveev's repositories - public-inbox.git/commitdiff
qspawn: use Perl 5.12 and rely on `perl -w' for warnings
authorEric Wong <e@80x24.org>
Fri, 6 Jan 2023 11:51:39 +0000 (11:51 +0000)
committerEric Wong <e@80x24.org>
Fri, 6 Jan 2023 20:21:38 +0000 (20:21 +0000)
Another step towards making our startup performance faster.

lib/PublicInbox/Qspawn.pm

index f2beb4b21febc96f8a22862f835a3ffc1244e405..c2d8fd732c7a0ddf6696f7bd6316e0536dc0776f 100644 (file)
@@ -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) = @_;