my @string_array=qw/this that and all manner of other/; ..... %ouput_hash=( '1'=>("t","t","a","a","m","o","o"), '2'=>("h","h","n","l","a","f","t"), ...... )