about summary refs log tree commit homepage
path: root/lib/PublicInbox/InboxWritable.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-12-31 10:30:12 +0000
committerEric Wong <e@80x24.org>2020-01-01 07:50:45 +0000
commita7d4f457ec2b4531b3aaeb6cef1383bbda5b431a (patch)
tree149f48424932509f9374191e2af441a2695cc577 /lib/PublicInbox/InboxWritable.pm
parent8de49b2d3097e294650b1ee1554f45c6d2d29d67 (diff)
downloadpublic-inbox-a7d4f457ec2b4531b3aaeb6cef1383bbda5b431a.tar.gz
And update callers to use it, as it makes the code a bit cleaner.
Probably irrelvant, but it should be faster, too, as
"perl -I lib -w -MO=Deparse $FILE" shows REJECT() calls are
constant-folded.
Diffstat (limited to 'lib/PublicInbox/InboxWritable.pm')
-rw-r--r--lib/PublicInbox/InboxWritable.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm
index d8391251..228e786c 100644
--- a/lib/PublicInbox/InboxWritable.pm
+++ b/lib/PublicInbox/InboxWritable.pm
@@ -7,8 +7,7 @@ use strict;
 use warnings;
 use base qw(PublicInbox::Inbox);
 use PublicInbox::Import;
-use PublicInbox::Filter::Base;
-*REJECT = *PublicInbox::Filter::Base::REJECT;
+use PublicInbox::Filter::Base qw(REJECT);
 
 use constant {
         PERM_UMASK => 0,