]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_mirror: require Perl v5.12+
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:31:34 +0000 (05:31 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:55 +0000 (23:38 +0000)
Another tiny step towards improve startup performance by
relying on Perl 5.12 strictness and avoiding strict.pm

lib/PublicInbox/LeiMirror.pm

index c3512d439e474d371dcf81d934a66d5561fe64de..279ce30e76d0e7c73ba7217750ad8f5439115d93 100644 (file)
@@ -3,8 +3,7 @@
 
 # "lei add-external --mirror" support (also "public-inbox-clone");
 package PublicInbox::LeiMirror;
-use strict;
-use v5.10.1;
+use v5.12;
 use parent qw(PublicInbox::IPC);
 use IO::Uncompress::Gunzip qw(gunzip $GunzipError);
 use IO::Compress::Gzip qw(gzip $GzipError);