in reply to how to print key and value of hash as it is

Hi lakshmikant,

In addition to what the others have said, have a look at "Data: Hashes" in perlfaq4, especially "How do I process an entire hash?" and "How do I sort a hash (optionally by value instead of key)?".

Hope this helps,
-- Hauke D

  • Comment on Re: how to print key and value of hash as it is