75
s[\B([^\s]*)\B(?=\w)][join'',sort{.5>rand}split'',$1]ge,print while<DA
+TA>;
72
s[\B(\S*)\B(?=\w)][join'',sort{.5>rand}split'',$1]ge,print while<DATA>
+;
66
s[\B(\w+)\B][join'',sort{.5>rand}split'',$1]ge,print while<DATA>;
P:\test>junk
Down taht path leis madenss. On the ohter hnad, the road to hlel is pe
+avd with mnilteg slwalbnos.
Augltohh the Prel Sloagn is Tehre's More Than One Way to Do It, I htsi
+etae to mkae 10 wyas to do setmonihg.
And don't tlel me there isn't one bit of drecfefine between null and s
+pace, bsauece taht's etcaxly how much dreneciffe there is.
Rdnaal siad it wluod be tguoh to do in sed. He didn't say he didn't ud
+nerasntd sed. Rnaadl udnertsands sed qtuie well. Wchih is why he uess
+ Perl.
As usual, I'm oitasrvetng the case to kcnok a few nnrueos loose, but t
+he truth is ullasuy sreeomwhe in the mudlde, uh, mlddie.
Of crouse, I rseerve the right to mkae wohlly siuptd changes to Prel i
+f I tnhik they ivrompe the lgnuagae.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.