in reply to Re^2: from array to hashin thread from array to hash
$b{$_} = 1 for grep defined, @a; [download]