develooper Front page | perl.pep | Postings from January 2017

Re: Email::Address::XS

Thread Previous | Thread Next
From:
pali
Date:
January 23, 2017 13:53
Subject:
Re: Email::Address::XS
Message ID:
20170123134441.GA2406@pali
On Saturday 14 January 2017 21:32:57 pali@cpan.org wrote:
> On Sunday 04 September 2016 00:24:56 Ricardo Signes wrote:
> > If we never *store* objects, but only produce them as requested, then
> > I think the total needed changes are -- but I'm sure I'll miss
> > things -- as follows:
> > 
> > * allow header_str and header args to Email::MIME->create to include
> >   objects, which are immediately asked to encode themselves for
> >   storage
> > * add header_as_obj that takes a header name and, optionally, a class
> >   name and offset (an offset so you can ask for an object of the nth
> >   Received header)
> > * a registry used by header_as_obj to get a default class name from
> >   header name
> 
> So lets move. This is implemented in my pull request: 
> https://github.com/rjbs/Email-MIME/pull/35
> 
> Default class name for header name is retrieved from hash:
> Email::MIME::Header::header_to_class_map
> 
> Comments and review is welcome!

rjbs, can you review my pull request?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About