Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 79193
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: DDUMONT [...] cpan.org
Cc:
AdminCc:

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



Subject: Confusing doc and behavior of natatime in Array trait
Hello When passing a sub ref to the natatime method, natatime will not return an iterator. It will instead run the iteration *immediately* and call the sub ref as many time as required. Then natatime will return the return value of the last subref invocation. This behavior may be intented, but it's quite surprising when we expect the natatime method to always return an iterator. This behavior should be clearly documented. Hope this helps (and thanks for Moose, it's great :-) )
This is fixed in commit e4fdfb589a1c4b66e5cbb3098d1137e1715a3261