$P{$k} =~ tr/ \n\r\t\f/ /s; # remove newlines