Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 7939
Status: resolved
Priority: 0/
Queue: Email-Address

People
Owner: Nobody in particular
Requestors: cpan [...] ali.as
Cc:
AdminCc:

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



Subject: Warning: "my" variable $comment masks earlier declaration in same scope at /usr/lib/perl5/site_perl/5.8.0/Email/Address.pm line 167.
Just a minor thing... See patch attached to kill a warning.
--- Address.pm.old 2004-10-09 13:34:36.000000000 +1000 +++ Address.pm 2004-10-09 13:34:22.000000000 +1000 @@ -164,8 +164,7 @@ s/\s+$//; } - my $comment = join ' ', @comments; - push @addrs, $class->new($phrase, "$user\@$host", $comment, $original); + push @addrs, $class->new($phrase, "$user\@$host", join(' ', @comments), $original); } $PARSE_CACHE{$line} = [@addrs]; @addrs;