From: Eric Wong Date: Tue, 12 Oct 2021 11:46:57 +0000 (+0000) Subject: daemon: use v5.10.1, disable local warnings X-Git-Tag: v1.7.0~186 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=c2d48f35b007657db7371eef1c868341afb30494 daemon: use v5.10.1, disable local warnings We're moving towards relying on "perl -w" for warnings and v5.12 for strict. --- diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm index 0acd4ee9..70d0f1c5 100644 --- a/lib/PublicInbox/Daemon.pm +++ b/lib/PublicInbox/Daemon.pm @@ -6,8 +6,8 @@ # and/or lossy connections. package PublicInbox::Daemon; use strict; -use warnings; -use Getopt::Long qw/:config gnu_getopt no_ignore_case auto_abbrev/; +use v5.10.1; +use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev); use IO::Handle; # ->autoflush use IO::Socket; use POSIX qw(WNOHANG :signal_h); @@ -15,7 +15,7 @@ use Socket qw(IPPROTO_TCP SOL_SOCKET); STDOUT->autoflush(1); STDERR->autoflush(1); use PublicInbox::DS qw(now); -require PublicInbox::Listener; +use PublicInbox::Listener; use PublicInbox::EOFpipe; use PublicInbox::Sigfd; use PublicInbox::Git;