about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-17 06:31:54 +0000
committerEric Wong <e@yhbt.net>2020-07-17 20:56:53 +0000
commitc06e7fc8afea8441ed3d29d63cb8933704b15e7d (patch)
tree6b30897fbd43b831355372172dd39ed426b019ac
parent406b9eb2906518fb8c3999f2a826eeae86fa3d30 (diff)
downloadpublic-inbox-c06e7fc8afea8441ed3d29d63cb8933704b15e7d.tar.gz
Prefer "parent" to "base" since the former is lighter and part
of Perl 5.10+.  We'll also rely on warnings from "-w" globally
(or not) instead of via "use".
-rw-r--r--lib/PublicInbox/SearchIdx.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/SearchIdx.pm b/lib/PublicInbox/SearchIdx.pm
index c93c9034..9550847b 100644
--- a/lib/PublicInbox/SearchIdx.pm
+++ b/lib/PublicInbox/SearchIdx.pm
@@ -8,8 +8,8 @@
 # This writes to the search index.
 package PublicInbox::SearchIdx;
 use strict;
-use warnings;
-use base qw(PublicInbox::Search PublicInbox::Lock);
+use v5.10.1;
+use parent qw(PublicInbox::Search PublicInbox::Lock);
 use PublicInbox::Eml;
 use PublicInbox::InboxWritable;
 use PublicInbox::MID qw/mid_clean mid_mime mids_for_index/;