On Wed, 27 Mar 2002, Aaron J Mackey wrote: > So, what do I need to do special to handle the my variables within a loop? > I'm guessing I need to increment the refcount on the scalar, but I'm not > sure.
Yes, that's exactly what you need from what I can see. A simple: SvREFCNT_inc(string); before the end of your function should do that trick. Give it a try and see if that helps. -sam
