> >> The perlref docs state "Hard references are smart--they keep track of
> >> reference counts for you, automatically freeing the thing referred to
> >> when its reference count goes to zero." My interpretation of this is
> >> that when a reference goes out of scope the memory used by
> >> the
>> The perlref docs state "Hard references are smart--they keep track of
>> reference counts for you, automatically freeing the thing referred to
>> when its reference count goes to zero." My interpretation of this is
>> that when a reference goes out of scope the memory used by
>> the referent i
your program, but cannot be used by other programs.
-Original Message-
From: Freimuth,Robert [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 1:25 PM
To: [EMAIL PROTECTED]
Subject: references and freeing memory
Hi all,
The perlref docs state "Hard references are smart--they kee
Hi all,
The perlref docs state "Hard references are smart--they keep track of
reference counts for you, automatically freeing the thing referred to when
its reference count goes to zero." My interpretation of this is that when a
reference goes out of scope the memory used by the referent is freed