in reply to O, the horrors of references and complex data structures

Let me also confirm your suspicion: the problem is indeed that what you're doing is storing a bunch of references to the same hash, so when you change that hash, you change the values you see when you deference all the references to it. Fastolfe's giving you a way of storing 'snaspshots' of the global hash on each run through.

Philosophy can be made out of anything. Or less -- Jerry A. Fodor

  • Comment on Re: O, the horrors of references and complex data structures