On Nov 29, 2003, at 12:29 PM, Rob Dixon wrote: [..]
I agree with your point, but there's no reference counting involved here
(unless the hash values were themselves references).
Rob
I think that is a part of the issue that folks need to also be thinking about when they are putting together HoH and the like.
As a general rule
simple things are simple
the problem of course is that Perl can let one get complex Real Quickly. As most folks notice, we keep seeing the general
how do I create dynamic variables from this list of things I read from some file, so that I can do....
and we have to remind them, that while it is possible to smack in the
no strict 'refs';
to work around the 'kvetching' there are good reasons to avoid bad ju-ju that comes down that lane.
The same is unfortunately involved in the whole 'reference count' mechanism that perl uses for memory management. So while hashes, and hash references are core to perl's slickness, they are not 'free' and folks need to do some basic design work about what type of data structures are they using, what are their scoping issues, and are they 'hacking' themselves into a corner either by trying to be TOO Cleaver, or Too 'able to extend' and... all the same vices that plague 'real coders' programming in 'RealCodingLanguages' on RealOS's...
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]