Re: Semcarlbd letrtes sepur! (Scrambled letters super!)

Etienne Grossmann <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
  Hi all,


On Thu, Sep 18, 2003 at 05:54:15PM +0200, Xavier Noria wrote:
[snip]
# 
# My current favourite is
# 
#     -p s!\B\w+\B!join"",sort{rand 2}$&=~/./g!ge
# 
[snip]

  This is very nice (I didn't know about \B either); how randomly does
that scramble? I'm sure there's a thread somewhere on that.

  Cheers,

  Etienne

-- 
Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.