]> Sergey Matveev's repositories - public-inbox.git/commitdiff
watchmaildir: use v5.10.1, drop warnings
authorEric Wong <e@yhbt.net>
Mon, 31 Aug 2020 04:41:31 +0000 (04:41 +0000)
committerEric Wong <e@80x24.org>
Tue, 1 Sep 2020 00:19:02 +0000 (00:19 +0000)
Declare 5.10.1 to avoid potential compatibility problems with
Perl 7/8 down the line.  We'll rely on the command-line to set
or drop warnings during development, at least.

lib/PublicInbox/WatchMaildir.pm

index 5176ef69db9e9d698ceb4a33efadc019739b80f9..1c7ac6c0df67baf83a604a7cc443d62ce858a0d6 100644 (file)
@@ -5,7 +5,7 @@
 #      http://wiki2.dovecot.org/MailboxFormat/Maildir
 package PublicInbox::WatchMaildir;
 use strict;
-use warnings;
+use v5.10.1;
 use PublicInbox::Eml;
 use PublicInbox::InboxWritable qw(eml_from_path warn_ignore_cb);
 use PublicInbox::Filter::Base qw(REJECT);