my %hash = (1,'a',2,'b',3,'c'); foreach keys(%hash) { print }