I'm trying to get ready to release Email::Simple 2.000. It's going to be a great release, I think. I'm not trying to do the crazy "not-backwards-compatible changes at major version number!" thing. Instead, I'm trying to document and standardize more of the interface. My mantra for the 2.x series of Email::Simple is "better interface standardization." I want it to do roughly the same amount of stuff, with roughly the same performance. I just want it to be clearer how one can subclass Email::Simple, and I want to refactor, document, and improve the usability of the core features of Email::Simple. (This will probably include a rewrite of the Email::Simple<->Data::Message relationship.)
Here's a summary of things I checked in last night:
- better documentation for the Email::Simple::Header object
- provide a means to request a different header class
- public interface for header folding
- documented how options are passed to Email::Simple constructor
- add options to as_string, namely options to alter header folding
- add methods that return default values of various options
- some performance improvements
These changes are mostly here to make it easier to subclass Email::Simple's behavior. In almost every case, I want the answer to "how do I change Email::Simple's" behavior to be "subclass" or (later) "use a plugin." Since some features are really very fundamental core features, though, they seemed like a good place to demonstrate my intentions.
It's in Subversion now, and I'm going to release this as a _x release, soon. Let us know if you have thoughts on these plans or changes either at the PEP mailing list or right here.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.