$type argument must be repeated in arguments.

I use it twice in the format.

I think this was a local change I inadvertently failed to commit which
got overwritten by a pull.
This commit is contained in:
Bradley M. Kuhn 2017-02-09 19:04:08 -08:00
parent be2409792f
commit 1508660842

View file

@ -214,8 +214,8 @@ my $headerInfo = "$subject\n" . ("=" x length($subject)) .
( ($activeCounter{Annual} / ($totalSupporters - $lapsedCount)) * 100.00)) . ".\n\n"; ( ($activeCounter{Annual} / ($totalSupporters - $lapsedCount)) * 100.00)) . ".\n\n";
foreach my $type (keys %lapsedCounter) { foreach my $type (keys %lapsedCounter) {
$headerInfo .= sprintf("%7s: Lapsed Count: %3d Active Count: %3d Percent of %7ss Lapsed: %2.2f%\n", $headerInfo .= sprintf("%7s: Lapsed Count: %3d Active Count: %3d Percent of %7s Lapsed: %2.2f%\n",
$type, $lapsedCounter{$type}, $activeCounter{$type}, ($lapsedCounter{$type} / ($lapsedCounter{$type} + $activeCounter{$type})) * 100.00); $type, $lapsedCounter{$type}, $activeCounter{$type}, $type, ($lapsedCounter{$type} / ($lapsedCounter{$type} + $activeCounter{$type})) * 100.00);
} }
$headerInfo .= "\n"; $headerInfo .= "\n";
my $emailText .= $headerInfo; my $emailText .= $headerInfo;