Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: (GOLF) Randomizing lines

by Cirollo (Friar)
on Jul 26, 2001 at 17:56 UTC ( #99975=note: print w/ replies, xml ) Need Help??


in reply to (GOLF) Randomizing lines

This doesn't really "randomize" it, becuase one input will result in the same output every time. But, it does shuffle things up. 22 characters.

perl -e'%h=<>;print%h'

Update: D'oh! jmcnamara beat me to the same thing! Great minds think alike ;)


Comment on Re: (GOLF) Randomizing lines
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://99975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-10-26 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls