>I don't see the need for a new keyword. An attribute should be fine
>
> sub foo : coroutine { }
>
>Would do quite well. It would fit with the :method attribute, and
>a possible :lvalue attribute.
That would be fine.
>Anyway, isn't what you are proposing more of a generator/sink rather
>than a coroutine? I understood a coroutine to be a set of mutual
>calling functions/procedures.
The two things you described are the same thing. Read the second reference
in my RFC:
<http://www.softpanorama.org/Scripting/pipes.shtml>