$name = $name=~tr/ //c ? $name : 'Guest'; [download]
In reply to Re: Truth & Whitespace by perlplexer in thread Truth & Whitespace by Anonymous Monk