in reply to Re^2: Prototypes and hand-written MMD
in thread Prototypes and hand-written MMD

I seem to recall that Error was prone to this under some older versions of Perl. perrin wrote about it in Re: Re2: Learning how to use the Error module by example.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^4: Prototypes and hand-written MMD
by ysth (Canon) on Jan 11, 2006 at 20:47 UTC
    I'm seeing the code given there leak on 5.6.2 and 5.8.0, but not 5.8.1 and on.

      Out of interest, is the 5.6.x line now dead, or is there likely to be another release?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        I think it depends on somebody being motivated enough to go through the thousands of patches and decide which would qualify.
      Does this mean that there was a patch in the 5.8.1 branch? That's odd because the Changes for 5.8.1 don't mention a fix for that particular issue. I'm not complaining - I have code that ends up using that kind of construct and it's nice to know that 5.8.1+ doesn't have that memory leak. I'd just like to have some confirmation from p5p that this was indeed solved . . . on purpose. :-)

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?