Re: $head->get issues possibly.
David A Golden <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <5.2.0.9.2.20040407143921.00b49a30@localhost> |
That makes sense. I'll admit to not having looked at the docs recently (and I find the HTML interface overwhelming, really), but it seems like a lot of these kinds of questions should be in a cookbook. Or perhaps Mail::Box needs a Wiki, where recipes and approaches to common problems can be compiled. David At 4/7/2004 03:54 AM, Mark Overmeer wrote: >In stead of a "DateTime" object to return, I choose for a timestamp >value, which can be used immediately in all kind of formatting and >calculations. The things are handled in > Mail::Message::Field::dateToTimestamp() >calling Date::Parse::str2time. That funtion is really flexible in >accepting formats. For reading that's ok: be as flexible as you can >in accepting information, and as strict to the RFCs when you produce it.