in reply to Copy hash's key to an array

sranrsm:

What's wrong with:

my @array_of_keys = keys %my_hash;

...roboticus

When your only tool is a hammer, all problems look like your thumb.