P is for Practical | |
PerlMonks |
Re: how to print key and value of hash as it isby haukex (Archbishop) |
on Jun 03, 2016 at 08:20 UTC ( [id://1164842]=note: print w/replies, xml ) | Need Help?? |
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,
In Section
Seekers of Perl Wisdom
|
|