while (my $row = $sth->fetchrow_hashref) { $g_config_servers{ $row->{AddressPort} } = $row; }