r.joseph has asked for the
wisdom of the Perl Monks concerning the following question:

Hey all. Suppose the string: . . .Perlmonks . . .is . .the . . . .coolest .place. Notice how each dot respresents a space (I did that for clarity, so that you could visualize multiple spaces (including leading spaces) - just realize that there can be any number of space between words).

I want to take the above string and turn it into: Perlmonks_is_the_coolest_place

Basically, replacing any number of spaces between words with ONE underscore. I tried:

will also work for this one, it's similar to the /g modifier except that it re-evaluates the entire string after every substitution. But this is for entertainment TIMTOWTDI value only cause something like this