note edan Well... if I run the exact same code over and over again in a loop, I might expect it to grow the first few times as various things are allocated, but if it consistently continues to grow after executing the <i>same</i> code after dozens and hundreds of loops, I consider that a leak. I don't care if perl is holding a pointer to it somewhere in its bowels - if it keeps allocating more memory in each loop, it's a leak in my book... <p>As I said, I'm pretty sure that it's <code>$_</code> that's growing. I don't see anything that's obviously requiring more and more space in <code>$_</code>. So isn't that a leak?</p> <p>I really wish I could boil it down to a simple test case, but I'm still puzzled as to exactly what aspect of the code is causing the leak...</p> <div class="pmsig"><div class="pmsig-236234"> --<br />[edan]<br /><br /> </div></div> 562519 562583