My example means that my loop is calling next_inorder() to loop. It does not wait for next_inorder() to return undef, but breaks out of the loop when it sees the element it's looking for. next_inorder yields. Caller want's to quit early. Get it?
—John
In reply to Re: Re: Perl 6 coroutines (RFC 31)
by John M. Dlugosz
in thread Perl 6 coroutines (RFC 31)
by John M. Dlugosz
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |