Created
January 22, 2014 23:03
-
-
Save operatorofhell/8569252 to your computer and use it in GitHub Desktop.
perl iterate trough hash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%hash = (1 => 'a',2 => 'b',3 => 'c',); | |
map { print "$_ =>\t$hash{$_}\n" } keys %hash; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment