Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 37017
Status: resolved
Priority: 0/
Queue: Email-Valid

People
Owner: Nobody in particular
Requestors: anneke [...] echelon.nl
Cc:
AdminCc:

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



Subject: Problem in _host function of Email::Valid
Date: Mon, 23 Jun 2008 13:09:17 +0200
To: bug-Email-Valid [...] rt.cpan.org
From: Anneke Treep <anneke [...] echelon.nl>
Dear developer, Today I came across a problem in the _host function of the Email::Valid module. My source: use Email::Valid; my $err = { Email::Valid->address(-address => 'mail@-domain.de', -mxcheck => 1) }; yields the following on STDERR: Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Email/Valid.pm line 206. Use of uninitialized value in substitution (s///) at /usr/share/perl5/Email/Valid.pm line 207. Use of uninitialized value in substitution (s///) at /usr/share/perl5/Email/Valid.pm line 215. As far as I can tell, this is due to the fact that in the _host-function the scalar $addr is assigned to as follows: $addr = $addr->address if UNIVERSAL::isa($addr, 'Mail::Address'); but then no checks are done to see if $addr has been given a value so that the pattern matches/subtitutes make sense. I suppose it shouldn't be too hard to correct this. Many thanks in advance for your work! Greetings, Anneke Treep Echelon BV, Enschede, NL
Show quoted text
> Today I came across a problem in the _host function of the Email::Valid > module. > > My source: > > use Email::Valid; > my $err = { Email::Valid->address(-address => 'mail@-domain.de', > -mxcheck => 1) };
Thanks for the report, I can't verify with provided test, assuming this has been fixed. Suggesting we close ticket, unless you've still got it.
Subject: Re: [rt.cpan.org #37017] Problem in _host function of Email::Valid
Date: Wed, 08 Apr 2009 14:06:37 +0200
To: bug-Email-Valid [...] rt.cpan.org
From: Anneke Meijer-Treep <anneke [...] echelon.nl>
Hello, Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=37017 > > >
>> Today I came across a problem in the _host function of the Email::Valid >> module. >> >> My source: >> >> use Email::Valid; >> my $err = { Email::Valid->address(-address => 'mail@-domain.de', >> -mxcheck => 1) };
> > Thanks for the report, I can't verify with provided test, assuming this > has been fixed. > > Suggesting we close ticket, unless you've still got it.
OK! Greetings, -- Anneke Meijer-Treep Echelon BV E: anneke@echelon.nl T: (053)4836585 F: (053)4336222 W: www.echelon.nl KVK: 06055381
Please do not reply to this. It will re-open the ticket. -- rjbs