Help for this page

Select Code to Download


  1. or download this
    while ( my ( $k, $v ) = each( %h ) ) {
      ...
    }
    
  2. or download this
    while ( my ( $k, $v ) = each( %{ create_new_hash() } ) ) {
      ...
    }
    
  3. or download this
    while ( my ( $k, $v ) = each( %h ) ) {
      ...
    }
    
  4. or download this
    my $iter = get_iter( \%hash );
    while ( my ( $k, $v ) = $iter->() ) {
       ...
    }
    
  5. or download this
    using ( var iter = dict.GetEnumerator() ) {
       while ( iter.MoveNext() ) {
    ...
          ...
       }
    }
    
  6. or download this
    foreach ( var entry in dict ) {
       ...
    }