![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: RFC: Simulating Ruby's "yield" and "blocks" in Perlby Limbic~Region (Chancellor) |
on Apr 22, 2013 at 20:56 UTC ( #1029982=note: print w/replies, xml ) | Need Help?? |
LanX,
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
In Section
Meditations
|
|