in reply to Re: Summing Up Array Elements By Group
in thread Summing Up Array Elements By Group

Nice. The int is not necessary:
$output[$_/3] += $arr[$_] for 0 .. $#arr;