in reply to Re^3: Check if at least one element of array is bigger than X
in thread Check if at least one element of array is bigger than X

So what?

Its a caveat you omitted.

  • Comment on Re^4: Check if at least one element of array is bigger than X

Replies are listed 'Best First'.
Re^5: Check if at least one element of array is bigger than X
by ikegami (Patriarch) on Apr 08, 2010 at 02:01 UTC

    The entire list is visited with the any and the first solutions too (although the check function is only called until a match is found). for (@a) is saved due to the an optimisation that prevents the flattening of the list if it consists of just an array.

    Update: Added reference to newly added first solution.