in reply to Is hash evaluated with in double quotes

Aside from the typo (missing comma after the first key=>value declaration) the rest of your question would have been answered by using perldoc -q hash, whence came this answer:

#!/usr/bin/perl use strict; use warnings; # 748500 my %hash =('k1'=>'v1','k2'=>'v2','k3'=>'v3'); while ( (my $key, my $value) = each %hash) { print "$key = $value\n"; }

which prints:

k2 = v2 k1 = v1 k3 = v3

Updates: