Skip to content

Commit

Permalink
Make .perl on Iterators eager.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Mar 30, 2010
1 parent 5c93380 commit 00d8d8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Iterator.pm
@@ -1,4 +1,8 @@
augment class Iterator {
multi method perl() {
$.eager.perl;
}

multi method elems() {
my $elems = 0;
while !(self.get ~~ EMPTY) {
Expand Down

0 comments on commit 00d8d8d

Please sign in to comment.