]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
introduce PublicInbox::MIME wrapper class
[public-inbox.git] / lib / PublicInbox / Import.pm
index 1ac112b8a44222fa830f9635242155ffd00084de..13671a4fa3313f79e3c4d53813ab1cb815ecb032 100644 (file)
@@ -119,7 +119,7 @@ sub remove {
        $n = read($r, my $lf, 1);
        defined($n) or die "read final byte of cat-blob failed: $!";
        die "bad read on final byte: <$lf>" if $lf ne "\n";
-       my $cur = Email::MIME->new($buf);
+       my $cur = PublicInbox::MIME->new($buf);
        my $cur_s = $cur->header('Subject');
        $cur_s = '' unless defined $cur_s;
        my $cur_m = $mime->header('Subject');