Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

(MeowChow) Re: (GOLF) Randomizing lines

by MeowChow (Vicar)
on Jul 26, 2001 at 23:55 UTC ( #100113=note: print w/replies, xml ) Need Help??


in reply to (GOLF) Randomizing lines

39 chars:
  
perl -ne'splice@l,rand$.,0,$_}{print@l'
And here's a nicely obfuscated one at 49:
  
perl -ne'@=[~~@=,$=]=($=[$==rand$.],$_)}{print@='
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://100113]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-04-23 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.