* p...@cpan.org [2016-08-23T03:50:03]
> That is really bad API :-(
This is the *low level* API which of course the user does not call.
They'd want the version of Email::MIME that gives them these header objects on
the fly. I suggested there'd be a means to "upgrade" all the known headers so
that
On Monday 22 August 2016 22:34:39 Ricardo Signes wrote:
> * p...@cpan.org [2016-08-20T06:01:16]
> > Email::MIME is module which automatically do any MIME encoding/decoding
> > without user interaction, so that decoding must be done automatically
> > and without such "upgrade" function.
>
> So do
On Monday 22 August 2016 22:26:09 Ricardo Signes wrote:
> Here's a verbose form:
>
> # Get an email.
> my $email = get_some_email_mime();
>
> # Get the header -- the (unfolded) raw bytes.
> my $cc_hdr = $email->header_raw('Original-CC');
>
> # parse it into an object
> my $cc_obj