$hasho{ $result[0] } = $result[1]; #### my %hasho = %{ $sth->fetchall_hashref( 'org_id' ) }; #### my %hasho = %{ $dbh->selectall_hashref( $sql, 'org_id' ) };