in reply to order of hash
What merlyn said is right. Perl doesn't order hash keys in order of creation, but that doesn't mean they're ordered randomly....