Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to not print the same random number

by shotgunefx (Parson)
on Mar 04, 2006 at 09:21 UTC ( #534444=note: print w/ replies, xml ) Need Help??


in reply to How to not print the same random number

Sounds like homework. I'll give you a hint. When you want to keep track of things you've seen, a hash is usually what you want.

You'll have a lot better luck getting help if you actually give it a go and post what you've got.

-Lee
"To be civilized is to deny one's nature."
  • Comment on Re: How to not print the same random number

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-06-28 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (348 votes). Check out past polls.