in reply to whitespaces replace with tabs - help needed...

\s is whitespace (including tabs I believe? could be wrong) \t is a tab. So you need:
$str =~ s/\s/\t/g;
Lobster Aliens Are attacking the world!