Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Replacing multiple spaces into one character?

by tachyon (Chancellor)
on Oct 09, 2001 at 07:47 UTC ( [id://117639] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Replacing multiple spaces into one character?
in thread Replacing multiple spaces into one character?

Thanks blakem that null string that you get using /\s+/is a pain. I never realised that ' ' was magical.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: Re: Re: Replacing multiple spaces into one character?

Replies are listed 'Best First'.
Re: Re: Re: Re: Replacing multiple spaces into one character?
by blakem (Monsignor) on Oct 09, 2001 at 08:01 UTC
    Yeah, its a little screwy. ' ' is magical, but / / is not. I admit to checking the docs on occasion to remember which one is which.

    -Blake