Better formatting of address output.
This commit is contained in:
parent
6615abe535
commit
b1abebb32b
1 changed files with 6 additions and 1 deletions
|
@ -36,7 +36,12 @@ foreach my $id (@supporterIds) {
|
|||
my(%addr) = $sp->getEmailAddresses($id);
|
||||
print " Email Addresses: ", join(", ", keys %addr), "\n";
|
||||
my(%postalAddresses) = $sp->getPostalAddresses($id);
|
||||
print " Postal Addresses: ", join("\n\n", keys %postalAddresses), "\n";
|
||||
print " Postal Addresses:\n";
|
||||
foreach my $address (keys %postalAddresses) {
|
||||
foreach my $addrLine (split("\n", $address)) {
|
||||
print " $addrLine\n";
|
||||
}
|
||||
}
|
||||
$found = 1;
|
||||
foreach my $requestType (@requestTypes) {
|
||||
my $req = $sp->getRequest({ donorId => $id, requestType => $requestType});
|
||||
|
|
Loading…
Reference in a new issue