in reply to Extra Space Issue
... ($type, $total) = @$row; $type =~ s/\s+$//; # Remove trailing whitespace if ($type eq "A"){$a = $total;} ... [download]