%hash = (); # How to create a hash with keys only? As at this point I don’t have its value. @insert = \%hash; $insert[0] = $ages->{‘Sharon’}; $insert[1]=$ages->{'Martin’}; %ages = ('Martin' => 28, 'Sharon' => 35, 'Rikke' => 29); : : $sqlquery -> execute(@insert);