http://qs1969.pair.com?node_id=363184


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:
my $foo = "the lazy brown fox jumped..."; $foo = "<pre>$foo</pre>";
The "pre" tag preserves white space in html.