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;
[download]
Lobster Aliens Are attacking the world!
Comment on
Re: whitespaces replace with tabs - help needed...
Select
or
Download
Code
In Section
Seekers of Perl Wisdom