in reply to Re^4: Spot the bug
in thread Spot the bug
I think the problem is not with iterators as such, as much as with the fact that the scope and workings of this particular iterator are so non-obvious. In other words, it's the "magic" the bites here, IMO, not the iterator. I posted a hash iterator class some months ago that lets one create multiple simultaneous lexically-scoped iterators on any hash, but somehow it feels like overkill for most situations. Maybe this is a facility that should be built-in.
the lowliest monk
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Spot the bug
by Perl Mouse (Chaplain) on Dec 21, 2005 at 17:46 UTC | |
by demerphq (Chancellor) on Dec 22, 2005 at 09:12 UTC | |
by Perl Mouse (Chaplain) on Dec 22, 2005 at 11:48 UTC | |
by eric256 (Parson) on Dec 23, 2005 at 04:25 UTC | |
by Perl Mouse (Chaplain) on Dec 23, 2005 at 07:43 UTC | |
| |
by shotgunefx (Parson) on Dec 21, 2005 at 19:04 UTC | |
by Perl Mouse (Chaplain) on Dec 22, 2005 at 01:50 UTC | |
by shotgunefx (Parson) on Dec 22, 2005 at 12:12 UTC | |
by Perl Mouse (Chaplain) on Dec 22, 2005 at 22:28 UTC | |
|
In Section
Meditations