Help for this page

Select Code to Download


  1. or download this
    while (($key, $val) = each(%hash)) {
    
    ...
    foreach (keys(%hash)) {
    
    }
    
  2. or download this
    # if I have
    my @arr = keys(%hash);
    ...
    
    # I would expect to get somehow
    @backwardsArr = qw(9 1 2 7 4);