Subject: | Email::Simple alters the initial message |
Date: | Tue, 17 Apr 2012 10:15:07 -0700 |
To: | bug-Email-Simple [...] rt.cpan.org |
From: | Dave Hayes <dave [...] jetcafe.org> |
Consider the following program:
use Email::Simple;
my $message = '';
my $save = $/; undef $/;
$message = <STDIN>;
$/ = $save;
my $email = Email::Simple->new($message);
unless ($email->as_string eq $message) {
warn "Email::Simple has altered the message\n";
}
I didn't check more than one or two messages, but it seems to me
that an "as_unaltered_string" method would be nice. Thanks!
--
Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org
Show quoted text
>>> The opinions expressed above are entirely my own <<<
One of the tragedies of modern times is that people have
come to believe that something said by someone in the
past, perhaps for illustrative or provocative purposes,
actually represents the person's beliefs at the time.