Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 125656
Status: new
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: vkatsikaros [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: any can short-circuit after the first true result
Date: Fri, 22 Jun 2018 15:52:23 +0300
To: bug-Scalar-List-Utils [...] rt.cpan.org
From: Vangelis Katsikaros <vkatsikaros [...] gmail.com>
Hi This is a either a question or a documentation bug. For Scalar-List-Utils-1.50 List::Util says for "any" https://metacpan.org/pod/release/PEVANS/Scalar-List-Utils-1.50/lib/List/Util.pm#any as it can short-circuit after the first true result. Show quoted text
>
My question is whether the "can" in "short-circuit after the first true result" means that: 1) any can (but not always - as there are exceptions or options when calling any?) short-circuit after the first true result or 2) any will (always) short-circuit after the first true result If it's the 2nd case, I would expect that the documentation needs rewording. Regards Vangelis