$name = join ' ', split ' ', $name; #### sub wsp { $_ = shift; join ' ', split; }