Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Simple CPAN distribution.

Report information
The Basics
Id: 86924
Status: resolved
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: rfg [...] tristatelogic.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Small documentation bug
Date: Sun, 14 Jul 2013 12:28:38 -0700
To: bug-Email-Simple [...] rt.cpan.org
From: "Ronald F. Guilmette" <rfg [...] tristatelogic.com>
Hello, There is a small documentation bug near the top of this page: http://search.cpan.org/~rjbs/Email-Simple-2.201/lib/Email/Simple/Header.pm There is a short example under the SYNOPSIS section that reads as follows: my $email = Email::Simple->new($text); my $header = $email->head; print $header->as_string; The second code line in this example is incorrect code and does not work. (Gives a compile time error.) The correct code should, I think, be this: my $email = Email::Simple->new($text); my $header = $email->header_obj; print $header->as_string; I urge you in no uncertain terms to fix this. I pulled my hair out for at least a half hour trying to figure out what I was doing wrong, only to realize that the documentation was wrong.
Thanks, fixed in git! Release coming today. -- rjbs