about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-20 20:24:45 +0000
committerEric Wong <e@yhbt.net>2020-08-20 21:11:14 +0000
commit75352ebba2a00db912b4225b27a04ac865df1656 (patch)
tree64e1844806018ae83232580108e491fd239f2097 /lib/PublicInbox/Search.pm
parent365d58c295a12d38cc92be3b274919519bedaa40 (diff)
downloadpublic-inbox-75352ebba2a00db912b4225b27a04ac865df1656.tar.gz
No need to have awkward globrefs for this.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 593040a8..f98513d3 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -5,6 +5,8 @@
 # Read-only search interface for use by the web and NNTP interfaces
 package PublicInbox::Search;
 use strict;
+use parent qw(Exporter);
+our @EXPORT_OK = qw(mdocid);
 
 # values for searching, changing the numeric value breaks
 # compatibility with old indices (so don't change them it)