I want to load the value from scalar variable to a hash Example: my $a = "a, 1, b, 2, c, 3"; Now, I need to create a hash %b, which holds values like %b = { a => 1, b => 2, c => 3 }; TIA.