my $str1="a,b,c" my $str2="1,2,3" ## output: { a => 1, b => 2, c => 3}