Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 ;)

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 perusing the Monastery: (8)
As of 2016-07-25 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (227 votes). Check out past polls.