The second snippet works great, but im not so familiar with hashes, is there any function like a push() for hashes? The code only works with one command line argument, i would like to be able to have multiple and "push" then into the hash with a foreach statment. Is that posible?