kenTk schreef:
> My real application is in logging numerous sets of results each set
> saved in
> an anonymous array and those arrays referenced from a master array
> called @$arrayREFS
> When the results are read I clear the data using
> @{$arrayREFS[$index]}=();
> but am concerned that Perl's au
On Wed, Oct 22, 2008 at 16:25, kenTk <[EMAIL PROTECTED]> wrote:
snip
> Thanks.
> My real application is in logging numerous sets of results each set
> saved in
> an anonymous array and those arrays referenced from a master array
> called @$arrayREFS
> When the results are read I clear the data usin
On Oct 21, 10:14 pm, [EMAIL PROTECTED] (Dr.Ruud) wrote:
> "Mr. Shawn H. Corey" schreef:
>
>
>
> > kenTk:
> >> If I populate @array
> >> Then
> >> @array=();
> >> Is the memory that was used for that array now freed?
>
> > Yes, providing no other variable contains those items. For example:
>
> > my
"Mr. Shawn H. Corey" schreef:
> kenTk:
>> If I populate @array
>> Then
>> @array=();
>> Is the memory that was used for that array now freed?
>
> Yes, providing no other variable contains those items. For example:
>
> my @a = qw( a b c );
> my @b = @a;
> @a = ();
>
> Since @b contains everything
On Tue, Oct 21, 2008 at 11:08, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-10-20 at 23:29 -0700, kenTk wrote:
>> If I populate @array
>> Then
>> @array=();
>> Is the memory that was used for that array now freed?
>
> Yes, providing no other variable contains those items. For examp
On Mon, 2008-10-20 at 23:29 -0700, kenTk wrote:
> If I populate @array
> Then
> @array=();
> Is the memory that was used for that array now freed?
Yes, providing no other variable contains those items. For example:
my @a = qw( a b c );
my @b = @a;
@a = ();
Since @b contains everything is @a, it
If I populate @array
Then
@array=();
Is the memory that was used for that array now freed?
Similarly
If I populate the anonymous array @{$arrayREFS[$index]}
Then
@{$arrayREFS[$index]}=();
Is the memory that was used for that anonymous array now freed?
Thanks in advance
--
To unsubscribe, e-ma