>> 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