about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-12 11:46:57 +0000
committerEric Wong <e@80x24.org>2021-10-12 21:46:31 +0000
commitc2d48f35b007657db7371eef1c868341afb30494 (patch)
tree1cf795c0e19ada01be14aa5a37b0cc181e66a4a8 /lib
parent84e241687ef1ba3efc7ef486c1ed716c0e797ff0 (diff)
downloadpublic-inbox-c2d48f35b007657db7371eef1c868341afb30494.tar.gz
We're moving towards relying on "perl -w" for warnings and
v5.12 for strict.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Daemon.pm6
1 files changed, 3 insertions, 3 deletions
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;