for (@array){ #\sum of all numbers HERE sumAll $sumAll +=$_; }