XP is just a number | |
PerlMonks |
Re^4: Implicit closing of filesby ikegami (Patriarch) |
on Jun 17, 2008 at 13:05 UTC ( [id://692506]=note: print w/replies, xml ) | Need Help?? |
Everything I've seen says that destruction in Perl is timely. Destruction occurs as soon as the value's ref count reaches zero. Do you have any documentation to contradict that? This is in contrast with Java, where garbage collection is not as predictable. Update: The only documentation bit I've found is in perlref:
And it goes on to say
There's no mention of a delay or of it being deferred. Although it doesn't say explicitly say "immediately", I'm still convinced it is because my belief is based on much more than that one statement.
In Section
Seekers of Perl Wisdom
|
|