Look here in the perlfaq for various one-liners (lines 1-3) that do the job.
HTH, RataIn reply to Re: use array for hash-keys without loop
by Ratazong
in thread use array for hash-keys without loop
by piccard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |