use 5.008;
use strict;
use warnings;
+use Plack::Request;
use PublicInbox::Config qw(try_cat);
use URI::Escape qw(uri_escape_utf8 uri_unescape);
use constant SSOMA_URL => '//ssoma.public-inbox.org/';
if ($mid = mid2blob($ctx)) {
require Email::Simple;
use PublicInbox::MID qw/mid_clean/;
- $mid = Email::Simple->new($mid);
- $ctx->{mid} = mid_clean($mid->header('Message-ID'));
+ my $s = Email::Simple->new($mid);
+ $ctx->{mid} = mid_clean($s->header('Message-ID'));
}
}
undef;