Often if you can't figure out how to drive a data structure in a clean way to achieve some end, it is because the data structure is not appropriate.
$row implies a contiguously numbered sequence starting at 0 or 1 to me. If that is the case then an array is much more appropriate than a hash.
In any case a code fragment with no data nor any explanation of what you are actually trying to achieve won't get you very good answers. Try presenting a small sample script with some sample data and telling us about the larger problem you are trying to solve.
In reply to Re: Help me understand hashes
by GrandFather
in thread Help me understand hashes
by hallikpapa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |