- require PublicInbox::MIME;
- require Digest::SHA;
- require POSIX;
-
- foreach (qw(PublicInbox::Search PublicInbox::SearchView
- PublicInbox::Mbox IO::Compress::Gzip
- PublicInbox::NewsWWW)) {
- eval "require $_;";
+ require PublicInbox::Eml;
+ require PublicInbox::Mbox;
+ require PublicInbox::ViewVCS;
+ require PublicInbox::WwwText;
+ require PublicInbox::WwwAttach;
+ eval {
+ require PublicInbox::Search;
+ PublicInbox::Search::load_xapian();
+ };
+ for (qw(SearchView MboxGz WwwAltId)) {
+ eval "require PublicInbox::$_;";