Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 browsing the Monastery: (8)
As of 2015-08-27 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (330 votes), past polls