in reply to Using map to split an array to hash key/values

BTW: if you want to split something into two pieces, then better tell split to do so:
my ($key, $value) = split(/: /, $string, 2);
or:
my ($key, $value) = split(/\s*\:\s*/, $string, 2);

Best regards,
perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"