in reply to Re^2: Dynamically named hashes (w or w/o strict)
in thread Dynamically named hashes (w or w/o strict)

Sorry, I answered your question But then you are going to have to create a dynamically named anonymous hash? and ignored the "named" part, because anonymous and named are contradictory.

Whenever you think you want variables with variable names, you can just use a hash. In this case you then have a Hash-of-Hash structure. If you want variable named variables nonetheless, search for weak references.

  • Comment on Re^3: Dynamically named hashes (w or w/o strict)