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.20040407144128.00b98b20@localhost> |
A second thought: I'd like to suggest that shortcuts like $msg->date() be deprecated and perhaps the various shortcuts reconsidered. My rationale is that most shortcuts such as "to" and "from" are returning cleaned, programmer-ready objects (Mail::Address) rather than the raw headers themselves. I think that date() should either be the same (i.e. my suggestion that it return a DateTime object) or not available at all. The raw field can always be retrieved with a header->get() and the "timestamp" call is the "better" shortcut to use. David