On Thu, Apr 26, 2007 at 06:14:24PM +0200, Gerard Goossen wrote: > On Thu, Apr 26, 2007 at 05:03:47PM +0100, Tim Bunce wrote: > > Is there a nice clear explanation somewhere of how perl internals use > > the mark stack for passing and returning values to and from subs? > > > > I'm rusty on it and want to be sure I'm doing the right thing in the > > DBI dispatch code when it's calling callbacks. > > > > I vaguely recall someone doing a nice diagram, but that might just be > > wishful thinking on my part. > > http://gisle.aas.no/perl/illguts/ > > I think you recalled that one, it has some nice diagrams :) Ohh, yes. Very nice. The stacks section don't cover XS code specifically (e.g., the role of the ax variable) but it's a big help. Thanks! Tim.Thread Previous | Thread Next