while () { /(\w*) (\d*)/ ; $hash1{$1} = $2 ; }