Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to generate different random numbers?

by Aristotle (Chancellor)
on Sep 04, 2004 at 23:13 UTC ( [id://388535] : note . print w/replies, xml ) Need Help??


in reply to How to generate distinct random numbers?

Different how? That problem description is incomplete.

We can't read your mind.

Makeshifts last the longest.

  • Comment on Re: How to generate different random numbers?

Replies are listed 'Best First'.
Re^2: How to generate different random numbers?
by johnnywang (Priest) on Sep 04, 2004 at 23:16 UTC
    I meant: distinct, i.e, the returned list has no repeats.

      Ah, your function name hints at that.

      What's the "range" about? A range in which the random numbers should fall?

      Makeshifts last the longest.