Subject: | warnings when creating XML request (patch) |
The below patch removes this warning when a field isn't defined.
Use of uninitialized value in concatenation (.) or string at
/usr/local/lib/perl5/site_perl/5.8.2/Business/US/USPS/WebTools/AddressStandardization.pm
line 117.
@@ -114,6 +114,7 @@
foreach my $field ( $self->_fields )
{
+ next if !$$hash{$field};
$xml .= "<$field>$$hash{$field}</$field>";
}