in reply to Odd number of elements in hash assignment warning. Use of uninitialized value warning
Also, use exists when testing for hash elements.