I'm sure there are other ways. You could treat the hash as an array, for instance, and use a loop to pull out all values with even-numbered indexes, starting with zero. But I doubt any other way could be as efficient as the built-in 'keys' function.
In reply to Re^3: Copy hash's key to an array
by aaron_baugher
in thread Copy hash's key to an array
by saranrsm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |