|
|
| Think about Loose Coupling | |
| PerlMonks |
How do I process an entire hash?by faq_monk (Initiate) |
| on Oct 08, 1999 at 00:20 UTC ( #622=perlfaq nodetype: print w/ replies, xml ) | Need Help?? |
|
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version:
Use the
while ( ($key, $value) = each %hash) {
print "$key = $value\n";
}
If you want it sorted, you'll have to use
|
|