Skip Menu |

This queue is for tickets about the List-MoreUtils-XS CPAN distribution.

Report information
The Basics
Id: 123870
Status: resolved
Priority: 0/
Queue: List-MoreUtils-XS

Owner: Nobody in particular
Requestors: PETDANCE [...]

Bug Information
Severity: (no value)
Broken in: 0.427_002
Fixed in: 0.428

Subject: one() returns true if passed an open list.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-8195-1513115692-1944.0-0-0 [...]>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 371
Download (untitled) / with headers
text/plain 371b
The docs state: For an empty LIST, "one" returns false However: $ perl -MList::MoreUtils -E'say List::MoreUtils::one { 0 } ()' 1 It doesn't fail with the ::PP version. $ perl -MList::MoreUtils -E'say List::MoreUtils::PP::one { 0 } ()' 0 (This was initially reported at Sorry about that.)

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to