in reply to Print a hash in order
while ( ($key, $value) = each %hash) { print "$key = $value\n"; } [download]
HTH, but the real bottom line is -- please read your documentation.