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

Converting user inputs to Perl code safely is tricky and if dangerous if you fail. When using sum, nothing from the user is converted to Perl code and executed.