Subject: | bug in as_string |
The as_string method doesn't terminate lines correctly.
Example:
---
my $m = new Mail::Internet([
'From: fish',
'To: soup',
'',
'fish soup',
'is good for you'
]);
print $m->as_mbox_string();
--- ends
expected output:
---
From: fish
To: soup
fish soup
is good for you
--- ends
actual output:
---
From: fish
To: soup
fish soupis good for you
--- ends