in reply to Re: passing multi dimensional hashes into a sub
in thread passing multi dimensional hashes into a sub

can you explain the format you chose to use @{$hash_ref->{$name}}

it's kind of confusing to see how the hash_ref (arrays) is going through the list in the array for me

could you have used any other from to point to the values of each student?

something like hash_ref{$name}[ 0..2] and use a loop to get the index to move across all three values

do you think it'll work if i compose a loop like in the format above?

  • Comment on Re^2: passing multi dimensional hashes into a sub