Skip to content

Instantly share code, notes, and snippets.

@operatorofhell
Created January 22, 2014 23:03
Show Gist options
  • Save operatorofhell/8569252 to your computer and use it in GitHub Desktop.
Save operatorofhell/8569252 to your computer and use it in GitHub Desktop.
perl iterate trough hash
%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