my $stmt = "SELECT * FROM subscriber_contact WHERE subscriber_id = ?"; my %customer = % { $dbh->selectrow_hashref($stmtm, undef, $user_name)) };