Jonathan Sillito <[EMAIL PROTECTED]> wrote: > > From: Kevin Reid [mailto:[EMAIL PROTECTED]] > > I've implemented what appears to be appropriate usage based on > > examination of t/pmc/sub.t and core_ops.pod, but it is not exhibiting > > proper closure behavior - all subs share the same state. > > Would you like to post your code? Then we can figure out if > you have found a bug or if we just need to clarify how to > use the lexical ops etc.
I've found out what the problem was. I was, due to incompletely-implemented architecture changes, always passing 0 as the first argument to store_lex. My closures are now working correctly. -- Kevin Reid