in reply to Re: Some Explanation about inner hashes
in thread Some Explanation about inner hashes

Thank you L~R
This code was much clear to me, only one question should I also return the value of the $h2_inner(key) in the sub?
  • Comment on Re: Re: Some Explanation about inner hashes

Replies are listed 'Best First'.
Re: Re: Re: Some Explanation about inner hashes
by Limbic~Region (Chancellor) on Mar 30, 2004 at 19:28 UTC
    Anonymous Monk,
    That is a matter of personal choice.

    The values can be looked up once the keys are known regardless of where in the code you are.

    There are also ways to make optimizations to this code that might make it less clear what is going on. When trying to understand something that seems complex it is often beneficial to work with a foundation that you fully understand and then add the complexity piece by piece.

    Cheers - L~R

      Thanks L~R for your advice and answer