Re: Implementing continuations in perl

2002-01-24 Thread Robin Houston
On Thu, Jan 24, 2002 at 01:31:50PM -, Ivor Williams wrote: > Is there a way of getting a coderef for where you are inside caller? The coderef for "where you are" is an interesting concept, which sadly doesn't map very well to perl's internals. Only subroutines have coderefs; there isn't a cod

Implementing continuations in perl

2002-01-24 Thread Ivor Williams
Just wondering about some more magical pieces of the jigsaw. Is there a way of getting a coderef for where you are inside caller? Is there also a way of tricking the call stack into making it look as if you have come from there? Also, is there a way of generating extra stack frames including thei