Skip Menu |
 

This queue is for tickets about the DateTime-Set CPAN distribution.

Report information
The Basics
Id: 19252
Status: resolved
Priority: 0/
Queue: DateTime-Set

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

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



Subject: Iterator does not behave as documented
Download (untitled) / with headers
text/plain 197b
The documentation suggests you can do: $iter = $set1->iterator; while ( $dt = $iter->next ) { print $dt->ymd; }; However this skips the first item i.e; that returned by min()
Download (untitled) / with headers
text/plain 141b
Sorry, I was looking at hour_1 output and it wasn't until I noticed that max() didjn't match up either that I was able to see what was wrong.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.