in reply to Re^3: Help fixing this piece of code
in thread Help fixing this piece of code

YES!

the part that I could not understand was the hash_ref when I was expecting an array of the numbers and ,therefore, I could not even begin to reverse the hash into something I could use to see the most duplicated item

I was stumped and could not see the light

it is why I asked to have solved by you

now, I know (understand) how to tackle these dereferencing or,at least, I understand what perl is returning in this case

I always use the strict and warnings pragma and use Dump. always

I may not understand what or how to solve the problems being told by these but I always use them

I spent the last 2 days reading on and practicing hash_ref and dereferencing them since you nailed my question and problem.