Generates an array containing the keys within the specified hash.
%hash - the hash to extract the keys from.
An array with copies of all the keys from the specified hash.
%data = %(a => "AT-ST Walker", b => "bat", c => "cat", d => 43); foreach $var (keys(%data)) { println($var); }
d a c b