From d1fd2feb587b34d66227a6cb4f9c8b930812ddbf Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 23 Apr 2022 22:03:41 +0000 Subject: lei: move to v5.12 to avoid "use strict" Socket.pm still loads strict.pm, unfortunately, which hurts startup time; but we'll save some LoC this way. --- lib/PublicInbox/Syscall.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/Syscall.pm') diff --git a/lib/PublicInbox/Syscall.pm b/lib/PublicInbox/Syscall.pm index 22b779ad..777c44d0 100644 --- a/lib/PublicInbox/Syscall.pm +++ b/lib/PublicInbox/Syscall.pm @@ -16,8 +16,7 @@ # You may distribute under the terms of either the GNU General Public # License or the Artistic License, as specified in the Perl README file. package PublicInbox::Syscall; -use strict; -use v5.10.1; +use v5.12; use parent qw(Exporter); use POSIX qw(ENOENT ENOSYS EINVAL O_NONBLOCK); use Socket qw(SOL_SOCKET SCM_RIGHTS); -- cgit v1.2.3-24-ge0c7