[Israel.pm] Garbage Collection Question

Yuval Yaari yuval at windax.com
Sat May 8 11:51:24 PDT 2004


>> Anyway, I'll set $file to undef, it could do no harm...
>
> This is actually the recommended way to "zero" the reference
> count.

I know, and this is what I usually do.
But when I undefed $file today, I was asking myself "isn't that the Perl
garbage collector's job?"...


  --Yuval





More information about the Perl mailing list