while ( my ( $key, $value ) = each %{ $href } ){ say "key: $key, value: $value"; }