]> Sergey Matveev's repositories - public-inbox.git/commit
mbox_reader: add ->reads method to avoid nonsensical formats
authorEric Wong <e@80x24.org>
Mon, 22 Mar 2021 07:53:59 +0000 (07:53 +0000)
committerEric Wong <e@80x24.org>
Tue, 23 Mar 2021 00:07:12 +0000 (00:07 +0000)
commitd4b8980b9d2305c3004ff076a83006cc20502e56
tree9fc5aca5d117d04a4c7b7ff2f5b9a818f3b9372c
parentc61dc9e3b1d4e8fb0035461dced3f46853535e80
mbox_reader: add ->reads method to avoid nonsensical formats

Relying on UNIVERSAL::can may cause internal helper methods
to be used, which can lead to failures or nonsensical results.
lib/PublicInbox/InboxWritable.pm
lib/PublicInbox/LeiImport.pm
lib/PublicInbox/LeiInput.pm
lib/PublicInbox/MboxReader.pm