in reply to Looking for white spaces between words
As an alternate solution to what you appear to be trying to do you could try:
The "pre" tag preserves white space in html.my $foo = "the lazy brown fox jumped..."; $foo = "<pre>$foo</pre>";
In Section
Seekers of Perl Wisdom