Not build in per se, but support for WeakRef's was added as of 5.005_55.
WeakRef just uses those new features to muck about with reference counts,
thus implementing weak references.
-klm.
-------Original Message-----
--From: Steve Sapovits [mailto:[EMAIL PROTECTED]]
--Sent: Thursday, February 28, 2002 2:24 PM
--To: Bart Lateur; [EMAIL PROTECTED]
--Subject: RE: Leaking SV's with DBI - how to find where?
--
--
--
--I was not aware that weak references were built into
--5.6.1. Can someone point me to that?
--
--I've used the package below with 5.6.1 and eliminated
--my own self-referential memory leaks by doing so.
--
------
--Steve Sapovits
--Global Sports Interactive
--Work Email: [EMAIL PROTECTED]
--Home Email: [EMAIL PROTECTED]
--Work Phone: 610-491-7087
--Cell: 610-574-7706
--Pager: 877-239-4003
--
--> -----Original Message-----
--> From: Bart Lateur [SMTP:[EMAIL PROTECTED]]
--> Sent: Thursday, February 28, 2002 2:53 PM
--> To: [EMAIL PROTECTED]
--> Subject: Re: Leaking SV's with DBI - how to find where?
-->
--> On Thu, 28 Feb 2002 12:08:28 -0700, Ken Miller wrote:
-->
--> >I take it that weak references are a 5.6.x thing, and are not available
--> with
--> >5.005_03?
-->
--> <http://search.cpan.org/doc/LUKKA/WeakRef-0.01/WeakRef.pm>
-->
--> DESCRIPTION
--> A patch to Perl 5.005_55 by the author implements a core API for weak
--> references.
-->
--> Not strictly 5.6, but not far off.
-->
--> --
--> Bart.
--
--