in reply to Re^5: Comparison between keys in hash
in thread Comparison between keys in hash

Okay.

Atleast let me know what the hashes u created will do and what the foreach is intended for.

I can understand little bit. But not fully. Just explain me. I will try it

Replies are listed 'Best First'.
Re^7: Comparison between keys in hash
by Anonymous Monk on Jul 08, 2011 at 02:17 UTC

    Okay.

    Atleast let me know what the hashes u created will do

    They will encapsulate data, that is, they will associate keys with a value, $word with a $count

    and what the foreach is intended for

    foreach is just like for, it is a loop, it is intended for iterating, in this case over a list of keys

    I can understand little bit. But not fully. Just explain me. I will try it

    What do you understand?

    You use "keys in a hash" in the title, you use two hashes, you use a loop , you recognize i5513 uses two hashes, where is the disconnect?