Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to generate different random numbers?

by BrowserUk (Patriarch)
on Sep 04, 2004 at 23:18 UTC ( [id://388538] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    24
    23
    29
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    
    print for distinct_random_int 10, 20, 30;