Arrays and Hashes Arrays and Hashes Hashes Hashes are similiar to arrays in that they represent a collection of related scalars.
Hashes are different to arrays in that they are an unordered list, as opposed to an ordered list.
Hashes are also different to arrays in that individual scalar members are referenced not by numeric indexes , but rather by other scalar keys . Hashes are also different to arrays in that assigning a scalar to an index that exceeds the existing end of the array will extend the array to include that and all interveaning indexes.