Have you read Elian's take on coroutines? I was trying to find the excerpt from Knuth on them but my google fu is weak today so this is as close as it gets. In any event, the idea of having two cooperating processes seems like a useful feature but emulating it doesn't.
Update: Coroutine has a contrived example of how it might be beneficial.
Cheers - L~R
Re: RFC: Simulating Ruby's "yield" and "blocks" in Perl
Replies are listed 'Best First'.
|Re^2: RFC: Simulating Ruby's "yield" and "blocks" in Perl|
by LanX (Canon) on Apr 22, 2013 at 21:34 UTC
by Limbic~Region (Chancellor) on Apr 23, 2013 at 17:28 UTC
by iguanodon (Priest) on Apr 24, 2013 at 21:35 UTC