http://www.perlmonks.org?node_id=1055857


in reply to Re: using hashes
in thread iterating hash keys?

Thanks Kenneth, I understand your code, but I may have more than one name in the same line, such as:

bananas,peaches,kiwis

peaches,peaches

pineapple

(...)

So we couldn't use that kind of cycling on the array positions, right? Or am I missing something?