[Israel.pm] Garbage Collection Question

Shlomo Yona shlomo at cs.haifa.ac.il
Sat May 8 19:55:18 PDT 2004


On Sat, 8 May 2004, Yuval Yaari wrote:

> But when I undefed $file today, I was asking myself "isn't that the Perl
> garbage collector's job?"...

If $file is still in scope, how would Perl know that you
wouldn't use it again somehow?


-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/




More information about the Perl mailing list