in reply to Re^3: How to keep the order of keys in hash
in thread How to keep the order of keys in hash

Hmmm it makes absolute sense thinking about it. By initializing the foreach function at the beginning and passing the ARGV arguments to it it contains in the correct sequence the keys. I did not even think about it for a second.

Thanks again for your assistance.

Seeking for Perl wisdom...on the process...not there...yet!