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
In reply to Re: how to print key and value of hash as it is
by haukex
in thread how to print key and value of hash as it is
by lakshmikant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |