while ( my @row = $dbQuery->fetchrow_array() ) { @info{@$headings} = map { defined ? $_ : "" } @row; }