diff options
author | Eric Wong <e@80x24.org> | 2014-05-01 18:33:18 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-05-01 18:33:18 +0000 |
commit | 55ff8f0893e1a1d57463861e0599717744f490bf (patch) | |
tree | 6e30b4cd6770078b0f9c02bf8ea16d76222442eb /lib/PublicInbox/Thread.pm | |
parent | 0b271e70401bd7c059d10e2ec8fc802cf0aa9838 (diff) | |
download | public-inbox-55ff8f0893e1a1d57463861e0599717744f490bf.tar.gz |
Future versions of Mail::Thread may be released to fix this bug. However, since it's been about 8 years since the bug was reported..
Diffstat (limited to 'lib/PublicInbox/Thread.pm')
-rw-r--r-- | lib/PublicInbox/Thread.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/PublicInbox/Thread.pm b/lib/PublicInbox/Thread.pm index a2553da7..7dabf243 100644 --- a/lib/PublicInbox/Thread.pm +++ b/lib/PublicInbox/Thread.pm @@ -7,7 +7,10 @@ package PublicInbox::Thread; use strict; use warnings; use base qw(Mail::Thread); -sub _container_class { 'PublicInbox::Thread::Container' } + +if ($Mail::Thread::VERSION <= 2.55) { + eval q(sub _container_class { 'PublicInbox::Thread::Container' }); +} package PublicInbox::Thread::Container; use strict; |