Help for this page

Select Code to Download


  1. or download this
    my %hash = map { $_ => 1 } (1,2,3,5,7,8);
    
  2. or download this
    Hash entries are returned in an apparently random order.  The actual r
    +andom
    order is specific to a given hash; the exact same series of operations
    ...
    details on why hash order is randomized. Aside from the guarantees
    provided here the exact details of Perl's hash algorithm and the hash
    traversal order are subject to change in any release of Perl.