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

Re: Email::Address::XS

Thread Previous | Thread Next
January 14, 2017 20:55
Re: Email::Address::XS
Message ID:
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:

Default class name for header name is retrieved from hash:

Comments and review is welcome!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About