-% if (!$best) {
-% $best= { 'price' => $offer->{'price'} };
-% }
-% if ($offer->{'price'} == $best->{'price'}) {
-% $best->{'qty'} += $offer->{'qty'};
-% push @{ $best->{'stalls'} },
-% $offer->{'stallname'};
+% my $price= $offer->{'price'};
+% my $qty= $offer->{'qty'};
+% defined $bestprice or $bestprice= $price;
+% if ($price == $bestprice) {
+% $bestqty += $qty;
+% push @beststalls, $offer->{'stallname'};