projects
/
scpubgit/DKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
test more complex stream
[scpubgit/DKit.git]
/
lib
/
DX
/
ResultStream.pm
diff --git
a/lib/DX/ResultStream.pm
b/lib/DX/ResultStream.pm
index
28555a9
..
6bf251f
100644
(file)
--- a/
lib/DX/ResultStream.pm
+++ b/
lib/DX/ResultStream.pm
@@
-28,4
+28,13
@@
sub next {
};
}
+sub results {
+ my ($self) = @_;
+ my @all;
+ while (my $next = $self->next) {
+ push @all, $next;
+ }
+ return @all;
+}
+
1;