in reply to Re: Best way to sum an array?
in thread Best way to sum an array?

Nice. That module does the work in native compiled code, so of course it's fastest. I didn't know about that module. This is clearly best.
#1053
merci

Replies are listed 'Best First'.
Re^3: Best way to sum an array?
by tobyink (Canon) on May 24, 2017 at 17:12 UTC

    Then you should immediately familiarise yourself with it, and its sister module Scalar::Util. They are two of the most useful modules included in the Perl core.

Re^3: Best way to sum an array?
by BillKSmith (Monsignor) on May 24, 2017 at 17:59 UTC
    A module is almost always a good solution, if not the best, for any problem. This is especially true if you consider your own time as one of the resources you want to minimize.
    Bill