Welcome to the Monastery rakeshrocks
I checked it using Data::Dumper in loop to print hash
from How do I post a question effectively?
"Paste actual code that reproduces the problem
between <code> and </code> tags . State exactly what the problem is. Be precise about the correct behavior / desired output."
That way, the monks' responses will be more related to finding a solution rather than trying to guess the behavior being described...
Excellence is an Endeavor of Persistence.
A Year-Old Monk :D .