in reply to removing the white spaces
Here's an idiomatic way,
That problem is called "normalizing whitespace". This solution depends on the whitespace-devouring nature of magical split.my $text = ' The perl '; $text = join ' ', split ' ', $text;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: removing the white spaces
by ikegami (Patriarch) on Apr 13, 2006 at 20:52 UTC |