in reply to Fun with words (Golf?)
#!perl -p use List::Util 'shuffle'; $_=~s{(?<=\b\w)(\w+)(?=\w\b)}{join'',shuffle split//,$1}xeg;
perl -MList::Util=shuffle -pe '$_=~s{(?<=\b\w)(\w+)(?=\w\b)}{join"",sh +uffle split//,$1}xeg;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fun with words (Golf?)
by Roy Johnson (Monsignor) on Nov 09, 2005 at 16:01 UTC | |
by sauoq (Abbot) on Nov 09, 2005 at 16:23 UTC | |
by Roy Johnson (Monsignor) on Nov 09, 2005 at 20:57 UTC | |
by ysth (Canon) on Nov 10, 2005 at 08:52 UTC | |
by hossman (Prior) on Nov 09, 2005 at 18:11 UTC |