Proxy Objects:
In your time as a Perl programmer, it becomes almost inevitable that at some point you will have to manage in-memory tree structures of some sort. When you do this, it becomes important to be aware of how Perl manages memory, and when you might come up against a situation where Perl will not free its memory -- a situation that can happen easily ... as we'll see below.
Covers reference counting, a neat "weak references" technique I didn't know about in Perl 5.6, and the proxy object design pattern (although there I stopped reading, no time
).
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):