in reply to Is it better to return a hash of hashes or a reference to a hash of hashes?

References are a single item, while lists are the entire list. In terms of speed, it's more expensive to pass a list than an single item. However, "better" is a relative term, so without more context...
  • Comment on Re: Is it better to return a hash of hashes or a reference to a hash of hashes?