$string = 'One Two Three';
my @array3 = split(" ",$string);
$string = join("\n", @array3);

print $string;