On Sat, 18 Sep 2004, Rod Adams wrote:
2. Should a subsequent implicit return behave differently than usual if some values have already been emitted?
It seems clear to me that behind the scenes there should be a "stack" into which C<emit>ted stuff is pushed and that this is returned upon either explicit or implicit C<return> at the end of the sub. Now a possible issue, and maybe a more subtle one is that some care should be used when one doesn't want to return anything but what has been C<emit>ted: and explicit C<return> with no arguments should be needed in that case, wouldn't it?
Michele -- No one can ever predict all of the possible error conditions, of course; as soon as we write idiot-proof code, along comes a better idiot. But it's still worth making the attempt. - Sherm Pendley in clpmisc (edited)