note
hardburn
<p><em>I still find hashes a little daunting.</em></p>
<p>[BrowserUK] (if I may presume) was speaking in relative terms. Hashes are quite easy compared to (for example) Perl's advanced data structures, object system, or closures.</p>
<p><em>While hashes may have a tendancy to soak up a lot of memory, it's not using it for that long.</em></p>
<p>The problem is that perl usually doesn't free the memory back to the OS until the process exits (though it will reuse that memory for other things). This is particularly a problem for mod_perl, where the process will stick around as long as Apache is up (potentially years, if your sysadmin is neglegent about security patches ;).</p>
<div class="pmsig"><div class="pmsig-195718">
<p>----<br><em>I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.</em> <br>
-- [Schemer]</p>
<p><code>: () { :|:& };:</code></p>
<p><b>Note</b>: All code is untested, unless otherwise stated</p>
</div></div>
308947
308993