Subject: | Can't call method "remove_sig" on an undefined value at /usr/lib/perl5/site_perl/5.8.0/MIME/Entity.pm line 1276. |
The program dies while trying to run remove_sig() on a MIME entity. It happenned only once with the attached message (spam) that has a buggy structure ().
Below is a short perl program that demonstrates this problem :
#!/usr/bin/perl
use MIME::Parser;
use MIME::Tools;
my $parser = new MIME::Parser;
my $mail = $parser->parse_open("/location/to/this/file/spam");
$mail->remove_sig();
Can't call method "remove_sig" on an undefined value at /usr/lib/perl5/site_perl/5.8.0/MIME/Entity.pm line 1276.
Message body not shown because it is not plain text.