Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 about the Monastery: (5)
As of 2014-12-27 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls