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: 18805
Status: resolved
Priority: 0/
Queue: Email-Simple

People
Owner: Nobody in particular
Requestors: sk8boardkid [...] gmail.com
Cc:
AdminCc:

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



Subject: header method return values
The ->header method returns an empty scalar string "" if the requested header is not found. This method should idealy return an undefined value. MacGyveR
From: rjbs [...] cpan.org
On Thu Apr 20 16:15:56 2006, guest wrote: Show quoted text
> The ->header method returns an empty scalar string "" if the requested > header is not found. This method should idealy return an undefined > value.
I agree with this, in theory, but it needs to be tested, at least against the rest of Email::Simple's dependencies. I don't think it will cause a problem, but better safe than sorry. I've added this point to the discussion at: http://pep.pobox.com/wiki/Email::Simple
Subject: Re: [rt.cpan.org #18805] header method return values
Date: Tue, 4 Jul 2006 07:03:01 +0100
To: bug-Email-Simple [...] rt.cpan.org
From: "Sk8board Kid" <sk8boardkid [...] gmail.com>
ok thanks for looking into this On 04/07/06, Guest via RT <bug-Email-Simple@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=18805 > > > On Thu Apr 20 16:15:56 2006, guest wrote:
> > The ->header method returns an empty scalar string "" if the requested > > header is not found. This method should idealy return an undefined > > value.
> > I agree with this, in theory, but it needs to be tested, at least > against the rest of Email::Simple's dependencies. I don't think it will > cause a problem, but better safe than sorry. > > I've added this point to the discussion at: > > http://pep.pobox.com/wiki/Email::Simple >
We now return undef. -- rjbs