Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

  (email not shown publicly)
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Friday October 03, 2008
06:48 AM

email::messageid 1.400

[ #37593 ]

I've uploaded a new Email::MessageID, version 1.400. It has two major improvements. First, the result of its new method is now an Email::MessageID object, where it was previously an Email::Address object(!). This means that it can now have its own message-id-specific methods. It has one: in_brackets. This is a very common mistake:

my $email = Email::Simple->create(
  body   => ...,
  header => [
    'Message-Id' => Email::MessageID->new->as_string,

This would produce a bogus message. Message-Ids must be in angle brackets. Rather than fix as_string and break the code of everyone who was already dealing with this, I've added in_brackets. Use it!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.