in reply to Printing a hash from a foreach loop

You should try using each:
while (my ($length,$month) = each %days_in_month) { print "$length days hath $month\n"; }
ÅßÅ×ÅßÅ
"It is a very mixed blessing to be brought back from the dead." -- Kurt Vonnegut